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 On May 24, 10:15 am, Soumya <[email protected]> wrote: > 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 > > On May 22, 8:12 pm, Srikant <[email protected]> wrote: > > > > > > > Hi, > > > You can launch the service from the init.rc file. > > > - > > Sreekanth > > > On May 22, 12:24 pm, Soumya <[email protected]> wrote: > > > > 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. > > > > From that service I want to launch an activity when the boot completed > > > intent is received and for other certain intents too. > > > > Thank you, > > > Soumya > > > > -- > > > unsubscribe: [email protected] > > > website:http://groups.google.com/group/android-porting > > > -- > > unsubscribe: [email protected] > > website:http://groups.google.com/group/android-porting > > -- > unsubscribe: [email protected] > website:http://groups.google.com/group/android-porting- Hide quoted text - > > - Show quoted text - -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
