Register to receive the intent "android.intent.action.CAMERA_BUTTON".
Here's how you might add it to your app's manifest:
<receiver android:name="CameraButtonIntentReceiver">
<intent-filter>
<action android:name="android.intent.action.CAMERA_BUTTON"/>
</intent-filter>
</receiver>
On Nov 13, 8:42 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> How can I set default preference to android open my application when
> camera button is clicked?
>
> Thanks in advance,
> -abhi
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---