I want to save some data from such structures:
class Project { ChildA a; ChildB b; } class ChildA { ChildC c; ... } ...
I created data such as:
Projet x = new Project(); xa = new ChildA(); xac = new ChildC();
... and I want to save it to an external file on the SD card of my device so that other applications can read it (and users can open / copy it).
I thought I should use the DOM parser because my data structures are not very large, but I do not find tutorials or anything like that. Is there a better way to save this information?
If not, are there instructions for using parsers in android?
source share