Re: [android-developers] Background service stay alive

2011-04-10 Thread Samson Akisanya
Most likely ur music will be in a separate process, that can run in its own service and communicate VIA an aidl interface On 9 Apr 2011 10:10, Eason dragonea...@gmail.com wrote: Hi all, I am trying to make several apps that can listen to system states all the time and give responses when there

Re: [android-developers] Background service stay alive

2011-04-10 Thread Samson Akisanya
For the battery state use a broadcast receiveru shouldnt need need a service for that On 9 Apr 2011 10:10, Eason dragonea...@gmail.com wrote: Hi all, I am trying to make several apps that can listen to system states all the time and give responses when there is any event happens. For

[android-developers] Background service stay alive

2011-04-09 Thread Eason
Hi all, I am trying to make several apps that can listen to system states all the time and give responses when there is any event happens. For example, a battery state widget, but my widget doesnt work after a certain period of time. I found that the problem is, the background service is not