Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Posts: 183
Registered: ‎12-17-2008
My Device: 8320

snapshot using the built-in camera

Hi All,

 

I want to take snapshot using built in camera from blackberry device.

 

i have to use code like Player player = Manager.createPlayer("capture://video");

 

I dont have real device with me. So i tested with my simulator. If control reach above

 

code it throws mediaexception. Is problem because of simulator? or else?

 

Help me for this!.

 

 

Thanks,

 

kums

******************************

Press kudos which the post help you
Please mark posts as solved if you got a solution
Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: snapshot using the built-in camera

The supplied camerademo is the best place to start for this code.

Developer
Posts: 183
Registered: ‎12-17-2008
My Device: 8320

Re: snapshot using the built-in camera

Thanks for reply,

 

I am using Blackberry 4.5 JDE .. 8320 simulator.

 

Is there no camerademo in samples.

 

Can i install after version like 4.6 or 4.7? for camerademo.

 

Thanks,

kums

******************************

Press kudos which the post help you
Please mark posts as solved if you got a solution
Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: snapshot using the built-in camera

The ability to use the camera in the way you want was only added in OS 4.6.  What level of device are you developing for?

 

Also do q quick search of the forum for related questions.  This question has been asked before, you will find some other Threads with useful information.