[android-developers] Confused over activities and creating new tasks

2010-08-31 Thread Connick
Hi folks,

I'm launching a wizard as a series of views. (dialog theme) I need the user
to be able to step back and forth through the series of views. When the
final step is completed I'd like to return the to the original view that
launched this new task. (i.e. close the series of dialogs) The only way I've
gotten this to work is to call finish() on each dialog before starting the
activity of the next step. (that rules out being able to navigate back)

I've tried launching the initial intent with Intent.FLAG_ACTIVITY_NEW_TASK
as well as setting a taskAffinity for the views involved to no avail.

Any insight appreciated,
Stace

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

Re: [android-developers] Confused over activities and creating new tasks

2010-08-31 Thread Mark Murphy
I'd implement a wizard using ViewFlipper in a single activity,
personally. Creating a reusable wizard component is yet another of the
18,000 items on my to-do list...

On Tue, Aug 31, 2010 at 6:02 PM, Connick oconn...@gmail.com wrote:
 Hi folks,

 I'm launching a wizard as a series of views. (dialog theme) I need the user
 to be able to step back and forth through the series of views. When the
 final step is completed I'd like to return the to the original view that
 launched this new task. (i.e. close the series of dialogs) The only way I've
 gotten this to work is to call finish() on each dialog before starting the
 activity of the next step. (that rules out being able to navigate back)

 I've tried launching the initial intent with Intent.FLAG_ACTIVITY_NEW_TASK
 as well as setting a taskAffinity for the views involved to no avail.

 Any insight appreciated,
 Stace

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



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Development Wiki: http://wiki.andmob.org

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