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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


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

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
Posts: 110
Registered: ‎10-31-2010
My Device: Blackberry Torch 9800
My Carrier: Bell Mobility

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!
Highlighted
New Contributor
Posts: 3
Registered: ‎11-08-2010
My Device: bold 9000
My Carrier: rogers

Re: Using Camera & Sound

Thank you very much Smiley Happy

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

Re: Using Camera & Sound

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