Saturday, October 29, 2011

[android-developers] finishActivity: (popping two activities simultaneously?)


Hello,

I have come across the following scenario: I have an activity A which
needs to launch activity B to make a selection. The selected value
eventually needs to be passed back to A, but before that happens,
selecting the value from activity B launches another activity C. When
a selection is made on activity C both selected values from B and C
are passed back to A.

So now I am wondering what the best way to code this is. Do I use
finishActivity() or just call finish() in activity B when its onActivityResult()
is called? Suggestions welcome. Basically I would like to rid myself of
both popup windows when a selection in the latter is made.

Thank you for your input,

John Goche

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate