aspose file tools*
The moose likes Android and the fly likes problem encoding and decoding base64 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "problem encoding and decoding base64 " Watch "problem encoding and decoding base64 " New topic
Author

problem encoding and decoding base64

Suzzane Pinto
Ranch Hand

Joined: Feb 10, 2012
Posts: 214
hi...
i am sending base64 string(image) to webservice which is then inserted into database...while retrieving from datbase iam decoding it into byte array using base64decoder

iam then resizing the byte array as



again iam encoding it to base64 string to get a smaller image then as


iam then sending this string to android...while sending single im facing no problem
but while i add these values to list and then send...it gives an exception as

exception in android...please suggest what mite be wrong as iam able to send one image with the same value
Suzzane Pinto
Ranch Hand

Joined: Feb 10, 2012
Posts: 214
getting this error before it says bad base64

03-26 11:02:51.513: D/skia(463): --- decoder->decode returned false
please try to help me get the solution over this
 
jQuery in Action, 2nd edition
 
subject: problem encoding and decoding base64