Blackberry jde 如何在Blackberry Jde 5.0.0中使用照相机的自动对焦和闪光灯

Blackberry jde 如何在Blackberry Jde 5.0.0中使用照相机的自动对焦和闪光灯,blackberry-jde,Blackberry Jde,在我的应用程序中,我需要在blackberry jde 5.0.0中为相机启用闪光灯和自动对焦 请帮帮我 问候,, SampathsetFlash() setFocus() player = Manager.createPlayer("capture://video"); player.realize(); player.start(); VideoControl vc = (VideoControl) player.getControl("VideoControl"); focusContro

在我的应用程序中,我需要在blackberry jde 5.0.0中为相机启用闪光灯和自动对焦

请帮帮我

问候,, Sampath

setFlash()

setFocus()

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");