Sunday, January 27, 2013

[android-developers] How to check if an Android phone has front and rear facing cameras?

Hi

I need to detect if the phone has a front facing camera, and if so, I need to calculate the megapixels. The same thing goes for a rear facing camera.

I know how to get the megapixels of a "Camera" object, but I don't know how to check for the other things.

P.s.: I would also be nice if you know a way to check if the Camera has flash or not, and other cool statistics about the camera

--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
 
 

No comments:

Post a Comment