试图随同和随同附上照片。 播下外语,但并不真正确定在我向下一场活动发送时如何展示形象。
这里是我的卡纳克:
lv.setOnItemClickListener (new OnItemClickListener() {
public void onItemClick(AdapterView<?> parent, View view,
int position, long id) {
// When clicked, bring up Mockactivity.class
if(position == 1)
{
Intent myIntent = new Intent(view.getContext(), mockactivity.class);
myIntent.putExtra("myDrawable", R.drawable.mydrawable);
startActivityForResult(myIntent, 0);
}
It will click, and bring up a blank activity that i have named "mockactivity.class" if i take out the "myIntent.putExtra" line, but when that is there it does nothing. Anyone know how to display that drawable in the next activity that im clicking in to?