I am having a bitmap image. Can i show it in a Alert Dialog in android?
+1
A:
you can simply call the AlertDialog.Builder and set your image in there as setIcon(Drawable ) this way you will be able to put up you image on Dialog..
Abhinava
2010-10-06 12:41:19
A:
Similar to what Abhinava said, you can also create an ImageView, place your bitmap in there, and send the ImageView to the builder using AlertDialog.Builder.setView(View).
The difference here being that your bitmap will be shown in the content area of the alert dialog instead of in the title.
Josh
2010-10-06 15:44:25