0

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 Answers4

1

Pulled straight from Android documentation.

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.

Steven B.
  • 8,962
  • 3
  • 24
  • 45
0

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.

Nitin Karande
  • 1,280
  • 14
  • 33
0

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

enter image description here

Community
  • 1
  • 1
Priya Jagtap
  • 1,023
  • 13
  • 19
0

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.
Lovekush Vishwakarma
  • 3,035
  • 23
  • 25