My Air android app does a simple check to see if camera exists, checking length of 'Camera.names'.It works fine on most devices but the Nexus 10 is taking 7-10 seconds to respond. I then get a black full screen when I attach camera. The camera feed is then visible ok. I've set camera permissions in the application descriptor file through Flash Air for Android interface. I'm using Air 3.5. I have also tried using stageVideo and get same issue. Takes a long time to get a response from the camera interface.
Below is my code:
if (Camera.names.length > 0)
{
var cam:Camera = Camera.getCamera();
var vid:Video = new Video;
vid.attachCamera(camera);
addChildAt(vid, 0);
}