Intent intent = new Intent(A.this,B.class); startActivity(intent); 我想在B中显示出是谁Intent给他.
来源:学生作业帮助网 编辑:六六作业网 时间:2025/01/31 08:03:52
Intentintent=newIntent(A.this,B.class);startActivity(intent);我想在B中显示出是谁Intent给他.Intentintent=newInte
Intent intent = new Intent(A.this,B.class); startActivity(intent); 我想在B中显示出是谁Intent给他.
Intent intent = new Intent(A.this,B.class); startActivity(intent); 我想在B中显示出是谁Intent给他.
Intent intent = new Intent(A.this,B.class); startActivity(intent); 我想在B中显示出是谁Intent给他.
A中
intent.putExtra("father","A");
B中
getIntent().getStringExtra("father");