In the "saving" part, calling byteArray.toString() does not return the contents of the array, but rather something like "byt...@0x12345678" (not quite, but this is close enough).
What you need to be doing instead, is using the buffer's contents. Probably doing base64 encoding if it's supposed to be sent over hty -- Kostya Vasilyev -- http://kmansoft.wordpress.com 27.09.2010 15:57 пользователь "Stephen Jungels" <sjung...@gmail.com> написал: The decode byte array call expects JPEG compressed data. You should be consistent about either using unpacked bytes, as in your save operation, or packed bytes, as in your read operation. --SJ On Mon, Sep 27, 2010 at 6:38 AM, Jey <jp9894562...@gmail.com> wrote: > Hi all, > > Am trying ... -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en