I\'m trying to serialize my location class (using android.location class)
but, it gives me an error!
11-21 21:25:37.337: W/System.err(3152): java.io.
You can not make a non-serializable class serializable just implementing the Serializable interface. A serializable class must inherit from a serializable class (if an inherited class) and have all its attributes serializable themselves.
All subtypes of a serializable class are themselves serializable. http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html
However, if you want to serialize a Parcelable class it is still possible, but surely it would not be a good practice.