I am trying to display an image in an android dialog. If I select an image from the gallery app it should be displayed in a dialog. I have tried to fetch the selected image from the gallery app and passed its path to an alert dialog.