Thursday, September 22, 2011

[android-developers] Determing Camera Capabilities BEFORE calling setParameters(Camera.Parameters)

The documentation at
http://developer.android.com/reference/android/hardware/Camera.Parameters.html#setPreviewSize%28int,%20int%29
is quite emphatic: we are supposed to check for a camera capability
BEFORE calling setParameters(). But what it does not say is HOW to do
this. It only gives one example(color effects), one that does not
generalize to other capabilities. So how, for example, can we check
for supported Preview sizes or ImageFormats?

--
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