Why does my Android app need autofocus?
The Android app needs the following permissions:
Screen layouts: SMALL NORMAL LARGE XLARGE
Required device features
android.hardware.camera
android.hardware.location.network
android.hardware.wifi
android.hardware.location
android.hardware.location.gps
android.hardware.camera.autofocus
android.hardware.touchscreen
I am using the camera, but why does it need autofocus too? How can I disable it? The Android SDK doucmentation says that
<uses-feature android:name="android.hardware.camera.autofocus" />
lines are in the AndroidManifest.xml which declare this requried features, but there is nothing like this in mine.
1 Answer
-
Accepted Answer
The
android.permission.CAMERA
impliesandroid.hardware.camera
andandroid.hardware.camera.autofocus
. See Android docsTry adding
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />
to your
tiapp.xml
or customAndroidManifest.xml
. Adding this may also require you to use SDK tooling higher thanAPI 7
.