<!-- [if gte mso 9]><![endif]--><!-- [if gte mso 9]><![endif]--><!-- [if gte mso 10]><![endif]--><!-- [if gte mso 9]><![endif]--><!-- [if gte mso 9]><![endif]-->
Intent itmod = newIntent(WeigthListActivity.this, WeigthModActivity.class);
itmod.putExtra(""+SysConst.TABLE_FIELD_DATE, selectid);
itmod.putExtra(""+SysConst.TABLE_FIELD_INPUT,
cursor.getString(cursor.getColumnIndex(SysConst.TABLE_FIELD_INPUT)));
itmod.putExtra(""+SysConst.TABLE_FIELD_OUTPUT,
cursor.getString(cursor.getColumnIndex(SysConst.TABLE_FIELD_OUTPUT)));
itmod.putExtra(""+SysConst.TABLE_FIELD_WEIGHT, cursor.getString(cursor.getColumnIndex(SysConst.TABLE_FIELD_WEIGHT)));
itmod.putExtra(""+SysConst.TABLE_FIELD_AMOUNTEXERCISE,
cursor.getString(cursor.getColumnIndex(SysConst.TABLE_FIELD_AMOUNTEXERCISE)));
startActivity(itmod);
Intent对象有很多的putExtra(…)方法,通过“key-value”对的方式把数据放置到Extras对象中。