How to use AutoFocus and Flash for camera in Blackberry Jde 5.0.0
In 开发者_如何学Pythonmy application i need to Enable Flash and Enable AutoFocus for camera in blackberry jde 5.0.0
Help me, please.
Regards, Sampath
player = Manager.createPlayer("capture://video");
player.realize();
player.start();
VideoControl vc = (VideoControl) player.getControl("VideoControl");
focusControl = (FocusControl) player.getControl("javax.microedition.amms.control.camera.FocusControl");
Enable Flash setFlash()
Enable AutoFocus setFocus()
精彩评论