When starting a new activity using startActivity(Intent), how can I
ensure that the activity that launched it closes?  Is this the default
behavior?  I'm not clear on if it's okay to call finish() followed by
startActivity, or of there is some other way to ensure that I remove
the current (unneeded) activity from the stack.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to