Home > DeveloperSection > Interviews > What are the different storage methods in android

Posted on    June-11-2015 12:35 AM

 Android Android 
Ratings:
 1 Answer(s)
  488  View(s)
Rate this:

Mayank Tripathi
Mayank Tripathi

Total Post:807

Points:4035
Posted on    June-11-2015 12:35 AM

Android offers several different options for data persistence.

Shared Preferences – Store private primitive data in key-value pairs. This sometimes gets limited as it offers only key value pairs. You cannot save your own java types.
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. You can define many number of tables and can store data like other RDBMS.

Don't want to miss updates? Please click the below button!

Follow MindStick