You can't auto-run after being installed. And please think again, some more, and yet one more time about doing this. Having a service run forever is in most cases pure evil. You should only have a service run when it actually has work to do, such as scheduling an alarm to run every 15 minutes.
On Mon, Aug 31, 2009 at 4:27 AM, Urizev <uri...@gmail.com> wrote: > > Hi, > > I have developed an application only with a service which is launched > after rebooting. I would like it were launched after being installed > and after crashing. > > Any idea? > > Thanks > > > > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---