finish();

On Sun, Sep 27, 2009 at 1:24 PM, Mark Murphy <[email protected]>wrote:

>
> hap 497 wrote:
> > When I currently have my activity on the font of the screen, how can I
> > make Android to 'destory' my activity when user clicks 'back' button?
> > (i.e. onDestory of my Activity gets called)?
>
> It does that automatically.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://twitter.com/commonsguy
>
> Need help for your Android OSS project? http://wiki.andmob.org/hado
>
> >
>

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