sampath
sampath

Reputation: 51

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

In my application i need to Enable Flash and Enable AutoFocus for camera in blackberry jde 5.0.0

Help me, please.

Regards, Sampath

Upvotes: 0

Views: 523

Answers (2)

Jason Talaban
Jason Talaban

Reputation: 11

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

Upvotes: 1

Gilbert Le Blanc
Gilbert Le Blanc

Reputation: 51565

Enable Flash setFlash()

Enable AutoFocus setFocus()

Upvotes: 0

Related Questions