I have an application that contains three main title screens/
activities, let's call the A,B, and C.  The user switch from screen A--
>B-->C, and back to A at the touch of a button.  The user can also
exit the application on any screen (via the menu).

Should I be using startActivity to switch between the activities, or
startSubActivity?  I assume startSubActivity, am using startActivity
right now, but am not able to exit the entire application after
switching from A-->B, due to the fact that B does not send a
resultCode to A.

Also, if using startSubActivity, is there a good way to implement this
navigation such that when I switch to the same screen twice, such as
A-->B-->A, that the second A is not an entirely new activity, but
rather goes back to the original A activity?

Thanks for your help,

James
--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to