In the code given below (assuming all variables are properly defined) what is the function of getSnapshot() & repaint() ?
Player_fld = Manager.createPlayer("capture://video");
VideoControl_fld = (VideoControl)Player_fld.getControl("VideoControl" );
What you asking is real mess-up. Those are another two methods, can you satisfied with that. I don't think, because same as your question doesn't have enough details.
What is VideoControl_fld?
It's better if you can provide some guidelines to the OP, then he will learn a lot than present. It's not a good thing to post URL for other forums too.
The means of these methods are:
- taking a picture, a single frame. and
- calls the canvas to paint it.
You can find more details in the JSR-135 sample in the Sun's WTK.
I Hope it helps you.