Kevin J. Brooks wrote:
> I am starting an activity from the main.  The user will select and
> option from a list in the second activity and I need to return the value
> of the users selection.  What is the best way to do that?

If the main activity uses startActivityForResult(), the second activity
can call setResult(), and the main activity will get the result in
onActivityResult().

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

Warescription: Three Android Books, Plus Updates, $35/Year

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to