Hi
I have just started a Flex 4.5 project (video and text chat) utilizing FMS.
All works fine appart from I dont seem to be able to use / access the Front camera on my Android device.
Anyone got any clues why not?
I did read somwhere that air 2.6 has a bug regarding this, but I lost the link.
Apologies if this is listed elsewhere.
Regards
Paul
Currently, AIR only supports access to the primary camera on an Android device, but stay tuned for additional functionality in a future release. However, you might be able to get away with using the native camera UI to allow the user to choose which camera is used. Check out the following blog post:
AIR for Android: Camera and Camera Roll
Hope this helps,
Chris
With AIR 2.6, the docs state:
On iOS devices with a both a front- and a rear-facing camera, you can only capture video from one camera at a time. On Android devices, you can only access the rear-facing camera.
Android front facing camera support is planned for a future release, but won't be in the immenent (and current labs) AIR 2.7 release.
Thanks,
Chris
Are there any updates on adding this to android really soon? It is an incredibly simple feature which is causing a lot of confusion since it does work in ios and not android. and, personally i'm sitting on a project that i can't upload to the market until this is added to air. I'm really looking forward to sharing what I made using air with the community...
Front facing camera support is a new feature for the upcoming AIR 3.0 release. If you're interested in joining the prerelease program, you can apply for admission here:
Flash Runtime Testing Opportunity
Adobe AIR 3 Runtime Beta for Desktops
Thanks,
Chris
Finally. Thank you.
Now would it be too much to ask to allow access to both cameras simultaneously? This is easily done on the desktop, but so far not possible on mobile devices. It would be great if the design allows for multiple cameras like in desktop AIR/Flash. With 3D phones coming out, this would be an important feature.
Hi BryBam,
Shoot me an email (ccampbel@adobe.com) with your name, work email, and company name and I'll do what I can to expedite your prerelease invite.
Chris
Hi,
Android Front facing camera support has been added in AIR 3 beta build available here.
http://labs.adobe.com/technologies/flashplatformruntimes/air3/
Also, property to detect camera position is also added in beta actionscript reference:- (position)
http://help.adobe.com/en_US/FlashPlatform/beta/reference/actionscript/ 3/flash/media/Camera.html
Regards,
Sameer Khavanekar
North America
Europe, Middle East and Africa
Asia Pacific