I wanna do that, because I have a task running on background. And i wanna stop it when the application is closed. This task is doing http calls every X minutes to sync the application data over internet.
Also, android OS keep the state of the application and open it at the last activity where the user was on. I would like to open the application always by the main activity. also this main activity is doing a login call, which receive the session id to make more http calls. I have a risk to loose the session id, while the user is not using the app and it stills in memory for a long time. On 17 ene, 11:55, Kumar Bibek <coomar....@gmail.com> wrote: > Why would you try to do that? The OS would get rid of it whenever it feels > necessary. ie, whenever, the device runs low on memory. > > Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com > > > > > > > > On Mon, Jan 17, 2011 at 4:22 PM, Sergio Luceno <slucen...@gmail.com> wrote: > > Hi all, > > > Is there a way to force the application not keep running after close > > it? > > > When the user closes de applications, it always is running memory. > > > Is it possible to define some at the manifest to force the app to be > > removed from the memory? > > > I was trying to find out some parameter at the manifest... but I > > didn't find nothing > > > Thanks in advance > > > -- > > 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<android-developers%2Bunsubs > > cr...@googlegroups.com> > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en -- 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