This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Android and the fly likes Passing of value Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Passing of value" Watch "Passing of value" New topic
Author

Passing of value

D. Capri Michael
Greenhorn

Joined: Jan 16, 2011
Posts: 11
Hi there!
Just wondering how to pass one value from one intent/activity to another intent/activity in android?
Thank you!
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
By using Intent.putExtra(theName, theData).
D. Capri Michael
Greenhorn

Joined: Jan 16, 2011
Posts: 11
how to retrieve from another intent/activity?
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
Via getIntent().getExtras() in the onCreate method.
 
 
subject: Passing of value
 
Similar Threads
Closing Activity
[2010-08-16 10:31:07 - HelloDatePicker] New package not yet registered with the system
My Custom Intents do not work
Cannot find the problem in the code
Android search and suggestion provider affect parent activity lifecycle under certain conditions