how to serialize an object of android.graphics.Path
The way I did it is to identify the methods that I needed from the original Path class and then simply override those methods as follows: public class CustomPath extends Path implements Serializable { private static final long serialVersionUID = -5974912367682897467L; private ArrayList<PathAction> actions = new ArrayList<CustomPath.PathAction>(); private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException{ in.defaultReadObject(); … Read more