Hi Kostya Vasilyev,
Am getting same Byte length in both sides
byte[] arr = Base64.decode(Stringdata);
Bitmap b = BitmapFactory.decodeByteArray(arr, 0, arr.length);
no luck the decodebytearray method returns null only
On Mon, Sep 27, 2010 at 7:03 PM, Kostya Vasilyev <[email protected]> wrote:
> As next step, I suggest you log the data you send and receive from the
> server - check to see if it's the same data.
>
> That way you should know where to go digging for bugs next - the client or
> the server.
>
> --
> Kostya Vasilyev -- http://kmansoft.wordpress.com
>
> 27.09.2010 17:26 пользователь "Jey" <[email protected]> написал:
>
>
>
> hi all,
>
> i tried with Base64 class but no luck am getting long string instead
> of hex value([B0dgd...]) but the bitmap is not created..
>
> while sending
> Base64.encodeBytes(arr);
>
> while Downloading
> byte[] arr = Base64.decode(bytedata);
>
> thanks & Regards
> jey
>
>
>
> On Sep 27, 5:46 pm, Jey <[email protected]> wrote:
> > yea thanks guys let me try and update re...
>
> > On Sep 27, 5:08špm, Kostya Vasilyev <[email protected]> wrote:
> >
> >
> >
> > > (wrong button)
> >
> > > Bas...
>
> > > 27.09.2010 15:57 ÐÏÌØÚÏ×ÁÔÅÌØ "Stephen Jungels" <[email protected]>
> > > ÎÁÐÉÓÁÌ:
> >
> > > 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,...
>
> > > > š š š Am trying ...
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" ...
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en