What are the possibilities in Android, when I intend to use serialization/deserialization with data? Which one serialization/deserialization solution is the best for distant serialization/deserialization (e.g. on server)?
What are the possibilities in Android, when I intend to use serialization/deserialization with data?
Share
You can use standard Java serialization (implement
Serializableinterface) or serialize your data in JSON/XML form and save in files in device memory or external storage (SD card).Also you can use SQLite databases.
Parcelableis not intented to use for data storage. Read this answer.References: http://developer.android.com/guide/topics/data/data-storage.html