On Tue, Aug 17, 2010 at 11:25 PM, perumal316 <perumal...@gmail.com> wrote:
> I want my application to always run in the background untill being
> exited properly.
>
> Any idea how to do it?

You can't, sorry. Android and the user have the right to close
anything they want, with or without your permission.

> Currently I notice after a while my application closes on it own.

Correct. Android will close up under-used activities to free up RAM
for other applications.

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

_The Busy Coder's Guide to Android Development_ Version 3.1 Available!

-- 
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

Reply via email to