[android-developers] Re: BroadcastReceiver for a Service to catch broadcast Intent ACTION_BOOT_COMPLETED

2009-03-03 Thread Graeme
Hi Marco OK remove from the receiver tag but a uses-permission android:name=android.permission.RECEIVE_BOOT_COMPLETED/ tag as ac hild of the application tag is needed ? Thanks Graeme On Mar 2, 4:15 pm, Marco Nelissen marc...@android.com wrote: On Mon, Mar 2, 2009 at 5:23

[android-developers] Re: BroadcastReceiver for a Service to catch broadcast Intent ACTION_BOOT_COMPLETED

2009-03-02 Thread Graeme
HI JBQ Thanks for your update advice. You should remove android:permission=android.permission.RECEIVE_BOOT_COMPLETE from your receiver tag: OK I have a typo but I still need to include (and type it correctly !! :) the permission according to

[android-developers] Re: BroadcastReceiver for a Service to catch broadcast Intent ACTION_BOOT_COMPLETED

2009-03-02 Thread Marco Nelissen
On Mon, Mar 2, 2009 at 5:23 AM, Graeme graeme.br...@btinternet.com wrote: HI JBQ Thanks for your update advice. You should remove android:permission=android.permission.RECEIVE_BOOT_COMPLETE from your receiver tag: OK I have a typo but I still need to include (and type it correctly !!

[android-developers] Re: BroadcastReceiver for a Service to catch broadcast Intent ACTION_BOOT_COMPLETED

2009-02-27 Thread Jean-Baptiste Queru
You need to do it in your manifest, since at the point where boot_completed is sent none of your app code can possibly have run to register a listener. Be aware that boot_completed is a point where the system is under heavy load/contention - be sure to keep your onReceive function as short as it

[android-developers] Re: BroadcastReceiver for a Service to catch broadcast Intent ACTION_BOOT_COMPLETED

2009-02-27 Thread Graeme
H'mmm I tried adding the following to my AndroidManifest.xml ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.bt.btinnovate.android.photoobserver android:versionCode=1 android:versionName=1.0.0 uses-permission

[android-developers] Re: BroadcastReceiver for a Service to catch broadcast Intent ACTION_BOOT_COMPLETED

2009-02-27 Thread Jean-Baptiste Queru
You should remove android:permission=android.permission.RECEIVE_BOOT_COMPLETE from your receiver tag: -you have a typo in it. -what that really means is I want the sender to hold that permission, which isn't what you meant, and is probably what prevents your code from working. JBQ On Fri, Feb

[android-developers] Re: BroadcastReceiver for a Service to catch broadcast Intent ACTION_BOOT_COMPLETED

2009-02-27 Thread Marco Nelissen
On Fri, Feb 27, 2009 at 8:33 AM, Graeme graeme.br...@btinternet.com wrote: H'mmm I tried adding the following to my AndroidManifest.xml ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android;      package=com.bt.btinnovate.android.photoobserver