I have a dynamic customized listview with image and text content from live server. Now i want to send selected text and image to another activity. i am able to send text but not able to send image in that.
here is my code lines.for send text.. but i m not able to send image.
list.setOnItemClickListener(new OnItemClickListener() {
@Override
public void onItemClick(AdapterView<?> parent, View view,
int position, long id) {
HashMap<String, String> song = new HashMap<String, String>();
exe= exeList.get(position);
title=exe.get(Mainactivity.E_TITLE);
text=exe.get(Mainactivity.E_TEXT);
img=exe.get(Mainactivity.E_IMG);
Intent i1= new Intent(Mainactivity.this,New_ListActivity.class);
i1.putExtra("one",title);
i1.putExtra("two",text);
i1.putExtra("three", img);
startActivity(i1);
}
}