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 functioning after some time. So how can i solve that??
Say, for the battery widget, is that wrong to create a background service and listen to the battery state (battery level, plugged to USB/ AC)? if else then what should i do to keep track with the battery status? Another app im working on is a music player, i created a background service to allow user listen to music in background (even if the application is closed), it is also a better way for me to manage the life cycle of the media player in the app), but the service is gone after some time and it annoys me. Please help =[ -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en