Optimal Activity Stack Order for a Main Menu button?

Posted by kefs on Stack Overflow See other posts from Stack Overflow or by kefs
Published on 2010-06-02T07:36:25Z Indexed on 2010/06/02 8:23 UTC
Read the original article Hit count: 241

Filed under:
|

I'm developing an app that starts with a main menu, and then continues through three different steps (activities) to a final activity where the task is marked complete. On this last activity, i have several additional options (add note, share, etc..) and i also have a return to main menu button.

My question is.. how do i stack the activities so that calling finish() on the final activity will return back to the first activity launched? i am currently just starting the new activity via an intent, so pressing back on this screen doesn't return me to home as i would like.

Sorry in advance for being so convoluted in my desc

© Stack Overflow or respective owner

Related posts about android

Related posts about android-sdk