[android-developers] Re: How-to start service automatically on system startup and on installation + custom Contacts ContextMenu

2009-04-14 Thread Jonas Petersson
Dianne Hackborn wrote: 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

[android-developers] Re: How-to start service automatically on system startup and on installation

2009-04-13 Thread Mike Collins
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 :

[android-developers] Re: How-to start service automatically on system startup and on installation

2009-04-13 Thread Dianne Hackborn
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,

[android-developers] Re: How-to start service automatically on system startup and on installation

2009-04-12 Thread Ralf
All you need is to create a BroadcastReceiver that is bound to the BOOT_COMPLETED action. Tout ce que tu as a faire c'est de creer un BroadcastReceiver qui recoit l'action BOOT_COMPLETED (avec la permission qui va bien). Exemple: manifest