Is this a Service as opposed to an activity? Or is there a
BroadcastReceiver? A plain Activity needs an Intent to start so if you are
positive you have an Activity then you should print out the Intent in the
onCreate and see if you find something.

On Tue, Jun 14, 2011 at 8: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

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