I am developing a feature that need camera's autofocus. If the device
does not support AF, then I will not show that feature. There are two
ways I know to detect AF.

One is using Camera.Parameter, but that need to open camera first and
will be slow and give a little bit sound when openning.

The other is use PackageManager.FEATURE_CAMERA_AUTOFOCUS, but it is a
level 7 API.But my application needs to support from 1.5+.

We all know that we can declare <uses-feature
android:name="android.hardware.camera.autofocus"
android:required="false" /> in AndroidManifest.xml from 1.5+. So I
wonder any API that can get this during runtime?

Thanks.

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

Reply via email to