1 - Why is this so (Urgent)?

On Fri, Mar 19, 2010 at 2:29 AM, Chirayu Dalwadi
<chirayu.dalw...@gmail.com>wrote:

> Now I want to include one button which On click will redirect to first page
> by stopping all activities. So how to achieve that?


2 - One idea - start each page with startActivityForResult(). When you click
the button set a variable in the results that indicate the button was
pressed and they all should cancel and then just have each activity finish()
itself when it gets the flag in the result and pass it along backwards down
the chain.

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

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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to