Welcome to the Official BlackBerry® Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Adobe AIR Development

Reply
New Developer
reelportal
Posts: 33
Registered: 01-07-2011

Can't access rear camera with Playbook 2.0

All,

 

I'm the dev for ReelPortal, and found the app can't access the rear cam with 2.0.

 

The API Camera.names.length is 2, but app gets a null when calling getCamera("1").

 

It works with getCamera("0"), and prior to 2.0, both works.

 

Any workaround this?

Please use plain text.
New Contributor
ruul620
Posts: 9
Registered: 08-11-2009

Re: Can't access rear camera with Playbook 2.0

Hello

I have the same problem.

I can't access near camera, I can't change enter camera (front and back).

It's very strange, in other version (1.0.6 , 1.0.8 and 2 betas) works fine, now in version final no work.

Please help.

 

 

Please use plain text.
Contributor
Howard2nd
Posts: 12
Registered: 07-18-2011
My Carrier: Sprint

Re: Can't access rear camera with Playbook 2.0

Add me to this list - Upated to v2.0 and now camera gives error "Already running" with black screen.

Please use plain text.
New Developer
reelportal
Posts: 33
Registered: 01-07-2011

Re: Can't access rear camera with Playbook 2.0

I found a solution. You have to "un-attach", i.e. call video.attachCamera(null), the video object from the first cam, then call getCamera on the second cam.
Please use plain text.