[android-developers] Re: start your application on camera button

2008-12-10 Thread shimo...@gmail.com
Hi, So are you saying it cant be done ? There is no way I make my app launch when the user presses the CALL button ? Only access to 3rd party is by tapping their icon on the screen ? Or can I pretent to be the built-in app ? TIA Shimon On Dec 3, 10:26 pm, Dianne Hackborn [EMAIL PROTECTED]

[android-developers] Re: start your application on camera button

2008-12-03 Thread [EMAIL PROTECTED]
Hi, I cant get this to work. I am trying this for the CALL_BUTTON and on the emulator. Added the lines below to my manifest. Created the MyReceiver class just like you do here. Then trying to register the receiver in OnCreate: IntentFilter filter = new IntentFilter

[android-developers] Re: start your application on camera button

2008-12-03 Thread Dianne Hackborn
The call button starts an activity, it doesn't send a broadcast, as described in the doc. (Yes this is inconsistent with the camera button and the camera button should probably be changed.) On Wed, Dec 3, 2008 at 11:32 AM, [EMAIL PROTECTED] [EMAIL PROTECTED]wrote: Hi, I cant get this to

[android-developers] Re: start your application on camera button

2008-11-14 Thread blindfold
What happens when more than one application has this in the manifest? Thanks On Nov 14, 8:53 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Register to receive the intent android.intent.action.CAMERA_BUTTON. Here's how you might add it to your app's manifest: receiver

[android-developers] Re: start your application on camera button

2008-11-14 Thread Ludwig
If you have more than one best matching activity for an intent is to offer you a list to pick the desired activity, with the option of using one as the default (ie do not ask again). It is easy to trigger, just by defining two activities with the same intent...Ludwig 2008/11/14 blindfold [EMAIL

[android-developers] Re: start your application on camera button

2008-11-14 Thread blindfold
Thank you, Ludwig! That answers my question, as I was considering adding the code to my app's manifest as well. Much appreciated. On Nov 14, 11:53 am, Ludwig [EMAIL PROTECTED] wrote: If you have more than one best matching activity for an intent is to offer you a list to pick the desired

[android-developers] Re: start your application on camera button

2008-11-14 Thread [EMAIL PROTECTED]
Thanks Guys. I added a receiver with CAMERA_BUTTON intent-filter and it then triggers my Main application. But I am not getting the choose application dialog. Instead, both my Main application and camera application opens. activity android:name=MainApp

[android-developers] Re: start your application on camera button

2008-11-13 Thread [EMAIL PROTECTED]
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,