File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Mobile
»
Android
Author
Passing of value
D. Capri Michael
Greenhorn
Joined: Jan 16, 2011
Posts: 11
posted
May 15, 2012 20:00:48
0
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
posted
May 15, 2012 21:19:14
0
By using
Intent.putExtra(theName, theData)
.
D. Capri Michael
Greenhorn
Joined: Jan 16, 2011
Posts: 11
posted
May 15, 2012 21:35:25
0
how to retrieve from another intent/activity?
Tim Moores
Rancher
Joined: Sep 21, 2011
Posts: 2407
posted
May 15, 2012 22:56:24
0
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
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter