I would suggest debugging this one step at a time:

- save and restore the byte array to a file on the memory card

Once you have that working

- save and restore base64 encoded data to a file

Once that works, too:

- add http code to save / restore base64 data to / from your server

--
Kostya Vasilyev -- http://kmansoft.wordpress.com

28.09.2010 13:31 пользователь "jeyaprakash chinaraj" <[email protected]>
написал:

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 ...
>
>
> >
> > --
> > You received this message because you are subscribed to the Google
>
> > Groups "Android Developers" group.
> > To post to this group, send email to android-develop...@googl...
>

-- 
You received this message because you are subscribed to the Google

Groups "Android Developers" group.
To post to this group, send email to android-develop...@googlegro...

-- 
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

Reply via email to