How-to start service automatically on system startup and on installation

by kijiten orma » Mon, 13 Apr 2009 12:03:54 GMT


Sponsored Links
 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 dfinir un service qui se lancerai
automatiquement au dmarrage 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
ncessite une action extrieur.

merci.


--~--~---------~--~----~------------~-------~--~----~



How-to start service automatically on system startup and on installation

by Mike Collins » Tue, 14 Apr 2009 02:49:27 GMT


 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




--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Running java native programs on android

Is there a way I can a native java program on the android phone?

--~--~---------~--~----~------------~-------~--~----~

2. Gallery beneath a square ImageButton, how to create?

I'm trying to make a square ImageButton whose dimensions are
deviceWidth by deviceWidth.  Under this is a Gallery whose height is
deviceHeight - deviceWidth (remaining space below the square
ImageButton).  Is there a way to do this in XML?


--~--~---------~--~----~------------~-------~--~----~

3. open market via browser link

4. More hidden shells

5. Debug in Dalvik

6. XML Resource Parser

7. Does Android support any XML Database??