The button being disable has nothing to do with your application.  That is
an emulator issue... Can you post exactly what options you specified for
creating the emulator?

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Tue, Mar 15, 2011 at 11:06 PM, Allen Curtis <[email protected]> wrote:

> 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

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