Hello,
I have created several emulators of various Android versions with camera
hardware defined.
The following lines are in the AndroidManifest.xml file:
<uses-permission android:name="android.permission.CAMERA"></uses-permission>
<uses-feature android:name="android.hardware.camera"
android:required="true" />
<uses-feature android:name="android.hardware.camera.autofocus"
android:required="false" />
The project launches so I assume that it passed the feature checks and believes
that there is a camera. However I am unable to press the camera button in the
emulator.
The objective is to register a broadcast receiver with an
Intent.ACTION_CAMERA_BUTTON filter. This would then launch an activity that
actually displays the camera preview and takes the picture.
Why is the button disabled?
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