I have two activities. In one activity, I have an ImageView and an camera button.
When I press camera button it goes to other activity where two buttons are the
See http://blog.kupriyanov.com/2010/02/solved-android-save-image-to-media.html to save to gallery, and see Get/pick an image from Android's built-in Gallery app programmatically for displaying the gallery image.