My application is composed by several activities, I would like to give
the user the option to go back to the home screen of my application by
pressing a button on the screen.
At the same time I can't call the finish() function on activities
beetween the home screen and the currently visible activity because by
pressing the back button the user wil go back only one step and see
the previous activity.

Any idea on how to achieve this?
Is it possible to access the activity stack and e.g. close all the
activities it contains except the first one?

Thanks in advance,
Danilo
--~--~---------~--~----~------------~-------~--~----~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to