Serializing for persistent storage is generally a bad idea, since later
changes to your classes can cause them to incompatible with what you had
previously serialized.  I really think that if you are persisting data, you
should explicitly define your format up-front so you are in control of
versioning and compatibility of it separately from your implementation.

On Thu, Mar 29, 2012 at 5:32 AM, saex <[email protected]> wrote:

> Hi
>
> I have a simple class that implements Serializable, because i'm
> serializating the class storing it on the sdcard into a file.
>
> The class haves a Bitmap inside, and the bitmap is not bening
> Serialized.... because when i recover the class from the sdcard binary file
> the bitmap is NULL
>
> How can solve this? i can't find info on google.
>
> Thanks
>
> --
> 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




-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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