On Thu, Jul 15, 2010 at 11:57 AM, Taoyi Guo <[email protected]> wrote:

> you just call finish() and before you start new activity.
>
Which would kill your first activity regardless of the result of the second
activity. In this case, even if the user accepted the TOS, the original
activity would never start. That does not compute.

On Thu, Jul 15, 2010 at 12:53 PM, Taoyi Guo <[email protected]> wrote:

> you can put instance of activity a into application context, so activity b
> can ref it.
>
Please, no. You don't want to start coupling Activities in this way. This is
completely overkill and unnecessary, especially since Frank's two
suggestions already solve the problem the OP had "the correct Android way".

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
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

Reply via email to