To amplify -- just starting your service at boot and leaving it running all of the time is NOT recommended. It consumes a lot of resources, if nothing else a whole process sitting there doing nothing (presumably) most of the time, when that memory could be used for other things.
On Mon, Apr 13, 2009 at 11:37 AM, Mike Collins <mike.d.coll...@gmail.com>wrote: > > > I have been down this road with my app, you probably don't want > to do this. > > It is much better to have the app that uses the service start the > service when it needs it and simply leaves it running. > > mike > > > On Apr 9, 10:47 am, kijiten orma <cutbl...@gmail.com> wrote: > > Translate English version : > > > > hello, > > > > someone can be how to define a service that launch automatically at > > startup and / or when installation without having to go through > > "activity". I look beautiful everywhere, I do found that the functions > > and BindService but StartService > > which requires action outside. > > > > thank you. > > > > French version : > > > > bonjour, > > > > quelqu'un saurait-il comment définir un service qui se lancerai > > automatiquement au démarrage et/ou lors de l'installation sans pour > > autant passer par une "activity". J'ai beau regarder un peu partout, > > je ne trouve que les fonctions startService et BindService mais qui > > nécessite une action extérieur. > > > > merci. > > > -- 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 -~----------~----~----~----~------~----~------~--~---