android 页面带值跳转

Intent it = new Intent();
it.putExtra(key,value);
it.setClass(本页面.this, 目的页面.class);
 startActivity(it);
 
目的页面:
Intent it = getIntent();
String key = null;
String value = it.getStringExtra(key);

你可能感兴趣的:(android)