The Parcelable interface is similar to the Java Serializable interface. Objects that implement this interface must be serialized. This means that it should be possible to convert the object to a view that can be saved in a file, for example.
It is easily possible for a string, int, float or double, etc., because they all have a string representation. The Context class is clearly not serializable and illogical, since it can be, for example, Activity.
If you want to keep your activity status in the database, you must find another way to do this.
source share