Saving data on Android : File Storage vs SQLite Database vs Shared Preferences

stryker picture stryker · Jun 15, 2013 · Viewed 17.6k times · Source

This title makes me wonder on what is most suited feature in saving medium to large data on a specific application. I know there is a recent questions that i have seen on Stackoverflow regarding on saving data with these feature but I want to know, as what i have said, what suited most. Do you have any suggestion regarding to this?

Answer

Tarsem Singh picture Tarsem Singh · Jun 15, 2013

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.

as per official Website