Look in the log, there is always a log when a new process is started with the reason why it is being started.
On Tue, Jun 14, 2011 at 5:00 AM, [email protected] <[email protected]>wrote: > Hi Treking, > But that's not the behaviour I see. I do see that the process is > getting auto-started when killed. > > On Jun 14, 1:33 am, TreKing <[email protected]> wrote: > > On Mon, Jun 13, 2011 at 8:44 AM, [email protected] > > <[email protected]>wrote: > > > > > Can you please let me know under what conditions will android > automatically > > > start the process after force close, and if there is a way to instruct > the > > > system to not do this for my app? > > > > I believe that if an activity is forced to close (crashes), then the > system > > goes to the previous activity in the stack. > > > > > This is a requirement for my app, to be not auto-restarted when the > user > > > kills the app. > > > > If the user kills the app (i.e., they go to the app management screen and > > Force Stop it) then it should not be auto-restarted. > > > > > --------------------------------------------------------------------------- > ---------------------- > > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > > transit tracking app for Android-powered devices > > -- > 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 > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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

