//send the values between activities ( A,B )
// parent activity , Activity A
//-----------------------------------------------
Intent myintent=new Intent(ACT_A.this, ACT_B.class).putExtra(", value);
startActivity(myintent);
//-----------------------------------------------
//use the below code in child activity
// Activity B
//-----------------------------------------------
String s= getIntent().getStringExtra();
//-----------------------------------------------
Gung BB
// parent activity , Activity A
//-----------------------------------------------
Intent myintent=new Intent(ACT_A.this, ACT_B.class).putExtra(", value);
startActivity(myintent);
//-----------------------------------------------
//use the below code in child activity
// Activity B
//-----------------------------------------------
String s= getIntent().getStringExtra();
//-----------------------------------------------
Gung BB
Comments