📜  android 有意图地发送参数 - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:43.211000             🧑  作者: Mango

代码示例1
Intent myIntent = new Intent(this, NewActivityClassName.class);
myIntent.putExtra("firstKeyName","FirstKeyValue");
myIntent.putExtra("secondKeyName","SecondKeyValue");
startActivity(myIntent);