Starting service while device boot-up

by Soumya » Sat, 22 May 2010 15:24:55 GMT


Sponsored Links
 Hi,

Is it possible to launch a service during android boot-up scenario. I
am aware that we can use a BroadcastReceiver to handle
ACTION_BOOT_COMPLETED intent and from that launch a scenario but can
it be done in such fashion that during device boot-up the service will
be started automatically by Android.

intent is received and for other certain intents too.

Thank you,
Soumya

-- 



Starting service while device boot-up

by Srikant » Sat, 22 May 2010 23:12:30 GMT


 Hi,

You can launch the service from the init.rc file.

-
Sreekanth




-- 


Sponsored Links


Starting service while device boot-up

by Soumya » Mon, 24 May 2010 13:15:15 GMT


 Hi Srikant,

Can I also mention this in the SystemServer.java file to start my
service automatically during boot-up of Android.

Thank you,
Soumya





-- 



Starting service while device boot-up

by Srikant » Tue, 25 May 2010 21:57:05 GMT


 Hi Soumya,

I just saw the code SystemServer.java, it starts the various services
like Audio, HW, Alarm etc. by adding these server threads to the main
System Server.

You can try adding your service in this file and see, and let us know
the result.

-
Srikant







-- 



Other Threads

1. EditText hides Text

Did anyone else knows this issue?
http://code.google.com/p/android/issues/detail?id=7160 and has had a
similar problem with an EditText? The text is hidden on the bottom of
the EditText and I do not see where this is coming from

Falko

-- 

2. Narsis pagi-pagi

Huahahahha cooolllll.... but no... wakwakwak

On Mar 15, 2010 9:05 AM, "Jeffry Leonardus" <leonardusjeff.andr...@gmail.com>



Barusan cobain themes baru nich... keren uey.. hehehe...



~~~
@leonardusjeff
~~~~~~
*Home is Where Google is*

-- 
"Indonesian Android Community [id-android]"

3. Saving/Restoring List<CustomClass>

4. Weather app di android

5. Need custom arc shape for seek bar

6. Getting the battery current and voltage values for the Android Phone

7. Gtalk force close