trostum wrote:
> Hi guys. I have a main activity which downloads a xml and creates a
> List of objects representing that xml. Now, if a user clicks on a item
> i want to display a popup dialog (a new activity, the built-in alert
> won't cut it) with more info on the selected item. How can i tell the
> popup activity which item is clicked? i don't understand :)

Use putExtra() on the Intent you use with startActivity(), and
get...Extra() in the activity to be started, to pass over enough
information to allow the second activity to perform its job.

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

Looking for Android opportunities? http://wiki.andmob.org/hado

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