How can I send data from one activity (intent) to another?
I use this code to send data:
Intent i=new Intent(context,SendMessage.class); i.putExtra(\
Instead of initializing another new Intent to receive the data, just do this:
String id = getIntent().getStringExtra("id");