摘要: 直接上代码Intent intent = new Intent();intent.setClass(MainActivity.this, Test1Activity.class);intent.putExtra("str", "come from first activity");startActivity(intent);在另一个Activity中接受参数protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); Intent inte 阅读全文
posted @ 2013-02-05 11:25 oftenlin 阅读(2521) 评论(0) 推荐(0)