case 1:
int keepAcc_id = Integer.valueOf(((TextView) menuInfo.targetView
.findViewById(R.id.keepAcc_id)).getText().toString());
switch (item.getItemId()) {
case 0:
Intent intent1 = new Intent();
intent1.setClass(this, KeepAccUpdateActivity.class);
intent1.putExtra("keepAcc_id_up", keepAcc_id);
startActivity(intent1);
//Toast.makeText(this, "修改成功", Toast.LENGTH_SHORT).show();
break;
在KeepAccUpdateActivity中利用Intent intent2 = this.getIntent();
String aa = intent2.getStringExtra("keepAcc_id_up");取值为空 是我的
方法有问题,还是不能这么传值啊
不好意思啊,木有C币啊,请大神无私的帮助解决一下