答案 0 :(得分:0)
在onClick
Intent in = new Intent(this,ActivityB.class)
in.putExtra("key",etIdEktp.getText().toString());
in.putExtra("key2",etKodeVerifikasi.getText().toString());
startActivity(in);
在ActivityB.java
String val = getIntent().getStringExtra("key");
String va2 = getIntent().getStringExtra("key2");