File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem encoding and decoding base64

 
Suzzane Pinto
Ranch Hand
Posts: 214
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 214
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic