M.Manjunatha wrote:
> How do I make my service always alive?? If my service gets killed
> because of an exception or if the VM kills my service on low memory,
> How do I make sure that my service is always running?

Don't do that. Use AlarmManager and have the service perform work
periodically. There is very little in Android that needs to be "always
alive".

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android App Developer Books: http://commonsware.com/books.html

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to