Hi, Yes, I want the control with user to close the application. But I don't want Android to close up under-used activities itself. Meaning only when the user exits the application it closes, till then it will be running. Any way to acheive that? Must i specify it as a service?
Thanks and Regards, Perumal On Aug 18, 11:54 am, Mark Murphy <[email protected]> wrote: > On Tue, Aug 17, 2010 at 11:25 PM, perumal316 <[email protected]> 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/commonsguyhttp://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 [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

