What are the different methods that can be used for data storage purposes in android? I have practiced SharedPreferences though it feels a bit complex to me as a beginner developer, does android provide a more clean and easy management of the storage?
4 Answers
Pulled straight from Android documentation.
Your data storage options are the following:
Store private primitive data in key-value pairs.
Store private data on the device memory.
Store public data on the shared external storage.
Store structured data in a private database.
Store data on the web with your own network server.

- 8,962
- 3
- 24
- 45
SQLite is a opensource SQLite Database data storage purpose. SQLIte database have different ways to store and retrieve data methods.
Here is the Tutorial for SQLite Database Android SQLite Database Tutorial
Otherwise, Refer the second SQLite Database Example Android SQLite Tutorial
I will suggest to refer above tutorial. This will be help to beginner developer for android data storage management.

- 1,280
- 14
- 33
Go through it, Which Android Data Storage Technique to use? (It will be helpful to know more about various techniques).

- 1
- 1

- 1,023
- 13
- 19
-
link provided is very helpful. – Amol Nage Nov 23 '16 at 06:24
-
Thank you @AmolNage – Priya Jagtap Nov 23 '16 at 07:34
-
Thanks for the link. It explained the data storage options very clearly. – Akshay Varma Nov 23 '16 at 07:37
-
Glad, it helped you. and thanks at the same time @AkshayVarma – Priya Jagtap Nov 23 '16 at 08:54
Your data storage options are the following:
- Shared Preferences. Store private primitive data in key-value pairs.
- Internal Storage. Store private data on the device memory.
- External Storage. Store public data on the shared external storage.
- SQLite Databases. Store structured data in a private database.
- Network Connection. Store data on the web with your own network server.

- 3,035
- 23
- 25