Passing Parameters to the Activity thourgh Intent
deepak - Mon Dec 19 2011 11:11:06 GMT-0500 (EST)
How to pass parameters to the Activity?
How to pass parameters to the Activity?
deepak - Mon Dec 19 2011 11:14:25 GMT-0500 (EST)
How to put parameters to the Intent?
String Example = "Hai";
Intent intent = new Intent(A.this, B.class);
intent.putExtra("id",Example.toString());
startActivity(intent);
deepak - Mon Dec 19 2011 11:15:02 GMT-0500 (EST)
How to Read parameters from the intent?
String Id = getIntent().getStringExtra("id");