Hi

I have written a Service component within an application .apk.
I want the Service to receive the ACTION_BOOT_COMPLETE
Intent which I understand is broadcast when the android system has
finished booting.

I am unclear as to whether I need to declare the BroadcastReceiver
statically within the AndroidManifest.xml file for the application
package
via a <receiver> tag or whether I need to create it dynamically and
call Context.registerReceiver() etc. within my Service code.

Can anyone offer any advice, please?

Thanks
Graeme
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to