1

There are samples to show how to aceess front camera of android devices using android sdk.Is there any way to do the same using flex hero sdk

1 Answer 1

3

Yes, although I'm not sure which version of the AIR SDK that was added to. Some method somewhere returns an array, and the first item is the back camera and the second item is the front camera.

If I were to guess, I'd say that you use the Camera class.. This blog post should give you more information.

1
  • you may use Camera.names method that return an array of camera names.
    – Tahir Alvi
    Jan 29, 2014 at 11:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.