If you are asking for testing purposes, there's a setting in the Dev Tools app on the emulator called "Immediately destroy activities" that might help: http://developer.android.com/intl/fr/guide/developing/debug-tasks.html
That said, it seems to happen immediately on my 1.5 phone and emulator even without that. On Sep 27, 3:51 am, hap 497 <[email protected]> wrote: > Hi, > > 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)? > > Thank you. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

