File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Android and the fly likes Passing of value Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Mobile » Android
Reply 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: 2407
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: 2407
Via getIntent().getExtras() in the onCreate method.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Passing of value
 
Similar Threads
[2010-08-16 10:31:07 - HelloDatePicker] New package not yet registered with the system
Closing Activity
Cannot find the problem in the code
My Custom Intents do not work
Android search and suggestion provider affect parent activity lifecycle under certain conditions