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

Adobe AIR Development

Reply
New Contributor
Afrog2
Posts: 3
Registered: ‎11-08-2010
My Device: bold 9000

Using Camera & Sound

Hello Everyone!

 

I'm working on an application for the BlackBerry PlayBook... I have a few quick questions...

 

1) Does the current SDK allow us to use the cameras?

2) How do you choose between the front and back camera?

3) Does the BB PlayBook have speakers built into it?

4) Does the PlayBook have a centralized location for all images and a location for sound? If so, using the SDK do we have the ability to save files to these locations?

 

Thank you everyone,

Tim Stoyvo

Developer
brentcameron
Posts: 110
Registered: ‎10-31-2010
My Device: Blackberry Torch 9800

Re: Using Camera & Sound

The PlayBook Simulator issues list says that Camera and GPS API's are not working yet (not sure how they plan to simulate them anyway!).  When they do get them working, you should be able to use the AIR API's (flash.media.Camera and flash.sensors.Geolocation) in the upcoming release of the SDK.  It looks like the Camera class will store the pictures/video in the device's media library (which you can manipulate).  I suspect that there are two Camera instances on the PlayBook which it looks like you can access through the .index method. 

 

Here's the reference:

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/class-summary.html

Best regards,

Brent

If you found my post helpful, please thank me with a Kudo. Thanks!
New Contributor
Afrog2
Posts: 3
Registered: ‎11-08-2010
My Device: bold 9000

Re: Using Camera & Sound

Thank you very much :smileyhappy:

New Contributor
Afrog2
Posts: 3
Registered: ‎11-08-2010
My Device: bold 9000

Re: Using Camera & Sound

Any word on speakers on the device? Or are headphones required for sound?