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. msm nand oob error

Porting android to HTC vogue... when attempting to write a system
image to the flash, I'm getting the following error (repeated hundreds
of times with different addresses each time):
msm_nand_read_oob 7120000 20000 0 failed -74

Has anyone dealt with the MSM nand driver? What is error code -74?
What more info do you need to help?
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. Where to buy a ADP1 Backplate/Battery Cover (with the Android robots)

2009/7/17 JBDynamics <jer...@jbdynamics.com>


What about just cutting the camera window out of the phone?

I bought a 2600mAh battery and it came with a replacement  backplate, but it
doesn't use a crappy perspecs window at all.

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

3. Speech Codec Support for Android

4. Error in Repo Initialisation

5. Released: Contact Groups + New & Forward MMS/MMS to Your groups as SMS/MMS/Email

6. error: cloning the kernel from git

7. open context menu for a specific item of the list