Today like most app's that use directly or sync with a webservice, I need to do verificação e armazenamento dos dados de login
.
How android has several forms of storage:
- Shared Preferences - Stores proven primitive data in key-value pairs;
- Internal Storage - Stores private data in device memory;
- External Storage - Stores public data on the memory card;
- SQLite Databases - Stores structured data in a private database;
I would like opinions on what the best storage option is:
- The app will be used offline most of the time;
- The login will be used to authenticate to the server and generate a simple key;
- At all synchronization, the key will be sent together.