// put to
Intent intent = new Intent();
intent.setClass(this, Next.class);
intent.putExtra("addr", "new address to next intent");
startActivity(intent);
// get from
Intent getfrom = getIntent();
String dest = getfrom.getStringExtra("addr");
Android pass variable by intent
標籤: android張貼者: kenywalker 於 清晨7:12
訂閱:
張貼留言 (Atom)
Diseño e iconos por N.Design Studio | A Blogger por Blog and Web

0 意見:
張貼留言