I am having arraylist string of image urls. On imageclick I want to send selected image URL to another activity.i successfully send the arraylist string url in 2nd activity..but now my point is that how i can display the image from the recieving path.see my code below..thanks in advance.
my 1st activity when i am sending image url to 2nd activity:
 iv_openimage = (ImageView) findViewById(R.id.iv_openimage);
    iv_openimage.setOnClickListener(new OnClickListener() {
        @Override
        public void onClick(View v) {
            // TODO Auto-generated method stub
            Intent intent = new Intent(VarientDetails.this,ImageSwitcher.class);
            intent.putExtra("imageurls", imageurls);
            Log.d("CMH", "images url = " + imageurls);
            startActivity(intent);
        }
    });
and this is my 2nd activity where i can recieve image url.and i want to display my image from the recieving url.
public class ImageSwitcher extends Activity {
ImageView iv_getimage;
@Override
protected void onCreate(Bundle savedInstanceState) {
    // TODO Auto-generated method stub
    super.onCreate(savedInstanceState);
    setContentView(R.layout.imageswitcher);
    iv_getimage = (ImageView) findViewById(R.id.imageView1);
    ArrayList<String> resultArray = getIntent().getStringArrayListExtra("imageurls");
    Log.d("CMH imgswtchr", "images url = " + resultArray);
}
}
i recieved the image url..now i just want it to display my image from the recieving url.
this is my xml of the 2nd activity:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<ImageView
    android:id="@+id/imageView1"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:layout_alignParentLeft="true"
    android:layout_alignParentTop="true"
    android:layout_marginLeft="142dp"
    android:layout_marginTop="247dp"
     />
</RelativeLayout>
 
     
     
    