Reputation: 1615
If I make for example an
Intent i = new Intent();
Bundle b = new Bundle();
b.putString("Number", spinner.getSelectedItem);
i.putExtras(b);
So If I want to reach this intent from an another activity, how Can I do this?
Upvotes: 2
Views: 257
Reputation: 8225
In Android: How do I get variables/data from one screen to another?
In the onCreate in your second activity you would get the string by calling:
getIntent().getStringExtra("Number");
Upvotes: 1