• Post Reply Bookmark Topic Watch Topic
  • New Topic

Passing of value

 
D. Capri Michael
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there!
Just wondering how to pass one value from one intent/activity to another intent/activity in android?
Thank you!
 
Tim Moores
Saloon Keeper
Posts: 3263
54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By using Intent.putExtra(theName, theData).
 
D. Capri Michael
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to retrieve from another intent/activity?
 
Tim Moores
Saloon Keeper
Posts: 3263
54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Via getIntent().getExtras() in the onCreate method.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!