How do you send data from one activity to another using intents.
(Note this is a two-part question, the sending and the receiving).
I\'m creating a form, a
To send from the Activity
Intent myIntent = new Intent(First.this, Second.class); myIntent.putExtra("name","My name is"); startActivity(myIntent);
To retrieve in the secod
Bundle bundle = getIntent().getExtras(); String name=bundle.getString("name");