开发者

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()

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜