[android-beginners] Re: Pass data between activitys

2009-09-30 Thread DWischer
Great, thanks a lot. On 29 Sep., 23:25, Jeffrey Blattman jeffrey.blatt...@gmail.com wrote: yes, the object needs to be serializable or parcelable. On 9/29/09 2:22 PM, DWischer wrote: On 29 Sep., 20:11, Mark Murphymmur...@commonsware.com  wrote: Use putExtra() on the Intent you use to

[android-beginners] Re: Pass data between activitys

2009-09-29 Thread Mark Murphy
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

[android-beginners] Re: Pass data between activitys

2009-09-29 Thread DWischer
On 29 Sep., 20:11, Mark Murphy mmur...@commonsware.com wrote: Use putExtra() on the Intent you use to launch the new Activity. The new Activity can then use getExtra() to retrieve them. Is it possible to pass complete Java objects via putExtra? I just found functions for passing simple data

[android-beginners] Re: Pass data between activitys

2009-09-29 Thread Jeffrey Blattman
yes, the object needs to be serializable or parcelable. On 9/29/09 2:22 PM, DWischer wrote: On 29 Sep., 20:11, Mark Murphy mmur...@commonsware.com wrote: Use putExtra() on the Intent you use to launch the new Activity. The new Activity can then use getExtra() to retrieve them.