开发者

How to use AutoFocus and Flash for camera in Blackberry Jde 5.0.0

开发者 https://www.devze.com 2023-01-26 12:53 出处:网络
In 开发者_如何学Pythonmy application i need to Enable Flash and Enable AutoFocus 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

精彩评论

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