1

How to pass the captured image to a different activity to set to the image view in android

view story
linux-howto

http://stackoverflow.com – I have two Activities first activity has the dynamic image view and on click i am calling the second activity where camera in invoked to capture a image, now i am able to invoke camera and capture a image but how would i pass that image to the previous activity and set to the image view. String fileName = "testphoto.jpg"; ContentValues values = new ContentValues(); values.put(MediaStore.Images.Media.TITLE, fileName); values.put(MediaStore.Images.Media.DESCRIPTION, "Image capture by camera"); values.put(MediaStore.Images.Media.MIME_TYPE, "image/jpeg"); imageUri (HowTos)