Thursday, November 5, 2009

RE: [android-developers] Re: Exit Application

But when I press the HOME to close the application and relaunch it, it is in
the same state (screen status, components status, etc) when I was leaving
it. But the BACK button really seems to close it, because the next launch
states so! Any reason behind this?

Regards,
Armond

> From: Romain Guy [mailto:romainguy@google.com]
>
> It doesn't leave it running if it's implemented correctly, since it
> will send onPause/onStop events. Pressing back also keeps the app in
> the background, it just finishes the activities (the process is still
> there, etc.)
>
> There's no need to "exit" the app since Android will do it for you when
> needed.
>
> On Thu, Nov 5, 2009 at 1:27 AM, Armond Avanes <armond555@yahoo.com> wrote:
> > Romain,
> >
> > Doesn't Home key leave the application running in background, instead of
> > really closing it?
> >
> > Armond
> >
> >> -----Original Message-----
> >> From: Romain Guy [mailto:romainguy@google.com]
> >> Sent: Thursday, November 05, 2009 11:11 AM
> >>
> >> > Normally, you just let the user repeatedly press the back button
> until
> >> > your application is all gone.  If this isn't really viable for you,
> >> > this may mean that you need to take another look at how our
> >> > application is structured.
> >>
> >> Or just press the Home key :)
> >>
> >> --
> >> Romain Guy
> >> Android framework engineer
> >> romainguy@android.com
> >>
> >> Note: please don't send private questions to me, as I don't have time
> >> to provide private support.  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 android-
> developers@googlegroups.com
> >> To unsubscribe from this group, send email to
> >> android-developers+unsubscribe@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+unsubscribe@googlegroups.com
> > For more options, visit this group at
> > http://groups.google.com/group/android-developers?hl=en
> >
>
>
>
> --
> Romain Guy
> Android framework engineer
> romainguy@android.com
>
> Note: please don't send private questions to me, as I don't have time
> to provide private support. 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 android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscribe@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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment