views:

643

answers:

1

Hi,

Is there any way that I can convert a base64 String to image in Android. I am receiving this base64 String in a xml from the server connected through socket.

Thanks and Regards, Vivek Birdi

+1  A: 

Have a look at http://www.source-code.biz/base64coder/java/ or any other example that converts base64 strings to byte-arrays, and then use the ImageIcon(byte[] imageData) constructor.

aioobe