a BOOT_COMPLETE event gets broadcast. You can code and configure a
receiver for that event.



On 24 Feb., 10:46, Graeme <graeme.br...@btinternet.com> wrote:
> Hi
>
> I am developing a Service component which runs periodically, triggered
> by the Alarm Service.
> At the moment I have written an Activity which enables a user of the
> Service component to
> schedule it to run or cancel the service from running (just adds or
> removes scheduled Alarms via the
> Alarm Service).
>
> However I would like to have the Service component get scheduled to
> run at Android boot-up
> time - I would like this to happen without user inter-action (so not
> using the Activity I have written).
> I plan to have a stored boolean value in Preferences which will either
> enable or disable the service.
> Does the Android Framework support a way for me to support running
> some code at system boot
> or soon after ?
>
> Thanks for any pointers.
>
> Graeme
> UK
--~--~---------~--~----~------------~-------~--~----~
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