Hi Mark,

But what if I currently have 3 activities in the stack and on the 3rd
activity I have a menu item saying "Exit application" and with that I
want to return to home screen.
I want to remove all 3 activities at once and doesn't want android to
store previous states when application is launched again.

Thanks in advance,
Vaibhav Gathibandhe

On Sep 29, 10:17 am, Mark Murphy <[EMAIL PROTECTED]> wrote:
> Rio Astamal wrote:
> > thanks scorpio but that is not what i want to do...
>
> > I want to close app as end user not as developer...
>
> Android is designed so that applications do not need to be closed.
>
> If a developer wants to allow users to close their application, they
> need to provide a close button or menu or something, which calls finish().
>
> > e.g: I open browser to browse the internet, then after I finish browsing
> > I want to close that browser.
>
> Why?
>
> It won't save you memory, as Android will quietly close down the browser
> when it needs RAM and will restore the browser to the previous state
> when you launch it again.
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
>
> Android Training on the Ranch! -- Mar 16-20, 
> 2009http://www.bignerdranch.com/schedule.shtml
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to