We provide complete mobile and web apps development solutions

Monday, May 27, 2013

Bitmap to Base64 conversion

ByteArrayOutputStream baos = new ByteArrayOutputStream();

bitmap.compress(Bitmap.CompressFormat.JPEG,100,baos);


byte[] b = baos.toByteArray();

String outputString = new String (Base64.encode(b,resultCode);

0 coment�rios:

Post a Comment

Online Training

Your Name :
Your Email: (required)
Your Message: (required)

Powered by Blogger.

Recent Posts

Find Us On Facebook

Popular Posts