Friday, December 31, 2010

[android-developers] Which Intent flag should I use?

This is part of my ongoing effort to tidy up my AppWidget code:

When a user clicks on my Widget, it goes to an Activity "deep" in my
app. When the user finishes this activity, I'd like to exit back to
the Launcher as opposed to whatever the last Activity on the stack is
for my app.

Is there an Intent flag I am not using correctly? I tried all the
ones I could see to be relevant, but nothing worked. I know I could
probably pass result codes back up the stack to wind down my app, but
that's some ugly stuff. Is there an easier way?

Happy New Year everyone!

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment