I am following the the Bucky's tutorial-56 (Android App Development for Beginners - 56 - Image Capture) to develop an app with a single button (to take photo) and a imageview to display the captured photo.

PROBLEM: I have used exactly bucky's code to develop that app (I made the button clickable ) and installed the .apk file at my mobile (Samsung android 4.1). When I press the "Take Photo" button, my camera starts. I take photo with my camera and save it. That photo gets displayed in the image view only for few millseconds and then disappears. 

I want to keep that image there. May be, I will add a new button which will clear the imageView but for now, I want to keep it displayed in the imageview. How can I do that?