I am using Universal image Loader to bind images to ImageView inside my listview. These images are being fetched from online url at time of binding asynchronously. Now i want to open the image on click of ImageView. How can I call intent that will handle displaying the Image. I'd like to display the image loaded using Universal image Loader in user's default image viewer app. I have the below code that opens any image on the device :
Intent intent = new Intent();
intent.setAction(Intent.ACTION_VIEW);
Uri imgUri = Uri.parse("file://" + yourfilepath);
intent.setDataAndType(imgUri, "image/*");
startActivity(intent);