Re: [android-developers] How to serialize a Class that includes a Bitmap?

2012-03-30 Thread Dianne Hackborn
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

[android-developers] How to serialize a Class that includes a Bitmap?

2012-03-29 Thread saex
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