import javax.microedition.media.*;
import javax.microedition.media.control.*;
player=Manager.createPlayer("capture://video");
player.realize();
videoControl=(VideoControl)(player.getControl("VideoControl"));
videoControl.initDisplayMode(VideoControl.USE_DIRECT_VIDEO,
canvas);
player.start();
byte[] image = videoControl.getSnapshot(null);
Tuesday, February 27, 2007
Code : how to reach camera in j2me
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment