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
New Developer
andred
Posts: 9
Registered: ‎12-05-2008
My Device: Not Specified

CameraDemo sample not working on Storm?

Looks like "createImageScreen( _videoControl.getSnapshot( encoding ) );" creates an exception.

 

I read in this forum that getSnapshot can not be called multiple times (bug). But I have this problem at the first call.

 

Does this sample actually work on a Storm? 

 

 

Please use plain text.
Developer
Posts: 5,339
Registered: ‎09-20-2008
My Device: ***
My Carrier: ***

Re: CameraDemo sample not working on Storm?

On my JDE 4.7 camera demo works just fine.

 

It interacts with web-cam on my desktop computer and makes a photo.

Please use plain text.
New Developer
andred
Posts: 9
Registered: ‎12-05-2008
My Device: Not Specified

Re: CameraDemo sample not working on Storm?

Thanks but have you tried on the actual Storm device?
Please use plain text.
Developer
Posts: 5,339
Registered: ‎09-20-2008
My Device: ***
My Carrier: ***

Re: CameraDemo sample not working on Storm?

No, I've not checked it on a real Storm device.
Please use plain text.
Administrator
MSohm
Posts: 14,521
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: CameraDemo sample not working on Storm?

What version of BlackBerry handheld software are you testing on?  You can find this under Options, About on the BlackBerry Storm.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
New Developer
andred
Posts: 9
Registered: ‎12-05-2008
My Device: Not Specified

Re: CameraDemo sample not working on Storm?

v4.7.0.75
Please use plain text.
Administrator
MSohm
Posts: 14,521
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: CameraDemo sample not working on Storm?

I tried the sample running on a BlackBerry Storm that also had handheld software version 4.7.0.75 and the camerademo worked fine.  What version of the BlackBerry JDE were you using?  I used version 4.7.0.  What exception is being thrown?  Are you able to take pictures using the built in camera application?
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.