I have successfully added Images from a ListView to a detailed View, when an item in the list is clicked on.But how would I add longer descriptions (which would not be shown
sending string:
i.putExtra("longdesc", longdesc);
reading string at destination:
String longdesc = i.getStringExtra("longdesc");
Intent i = new Intent(getApplicationContext(), SingleListItem.class);
i.putExtra("str", longdesc);
i.putExtra("zurag", imageId[position]);
startActivity(i);
in the singlelistitem class
Intent i = getIntent();
Intent i2 = getIntent();
String text1 =i2.getStringExtra("str");
texts.setText(text1);