DWischer wrote:
> Hi,
> 
> in my app, i got a login screen and a screen, where the user
> information should be displayed. So, when the button is pressed, a
> login request will be made and in case of sucess, a new activity
> should be displayed.
> For later requests, i need the entered login data from the login
> screen in my other activitys to process further requests.
> So the question is, how to pass data from activity to activity.

Use putExtra() on the Intent you use to launch the new Activity. The new
Activity can then use getExtra() to retrieve them.

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

_Android Programming Tutorials_ Version 1.0 Available!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to