You will need to implement a service and have something that listens for the
boot completed message being broadcast.
I wrote about this at
http://androidgps.blogspot.com/2008/09/starting-android-service-at-boot-time.html

HTH

Ludwig

2008/10/17 [EMAIL PROTECTED] <[EMAIL PROTECTED]>

>
> I 'm interested too by running my program at the same time of boot,
> and in background.
>
> I try with thread, but that's display application, and next start
> thread.
>
> So that's not good.
>
> any idea?
>
> thanks
>
> On 14 oct, 11:22, zeshu <[EMAIL PROTECTED]> wrote:
> > How to design a process that boots itself up always at the same time
> > with the device. This process should run on thebackground(like virus
> > scanners), and observe what kind of events take place in the device
> > (these events could be e.g. voice calls, network cell-id changes and
> > incoming messages). If the process crashes, there should be some kind
> > of implementation that initiates the process back up. How could this
> > kind ofbackgroundprocess be built on Google Android?Please provide
> > references/guidelines regarding how to start building and
> > implementing it.
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to