Data storage

Topics 

  • Data storage schemes 
  • Shared preferences 
  • Internal storage 
  • External storage 
  • Database

Data Storage Schemes 

Data Storage Schemes in Android 

  • Android provides several schemes for you to save persistent application data. 
  • The solution you choose depends on your specific needs, such as 
    • Whether the data should be private to your application or accessible to other applications 
    • How much space your data requires.

Data Storage Schemes 

  • Shared preferences 
    • Store 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.

 

You must have an active subscription to download PDF and Lab Zip of this course topic.Please click the "Subscribe" button or the "Login" button if you already have an account.