A
A
Alexey So2016-07-26 11:38:16
Android
Alexey So, 2016-07-26 11:38:16

Where to store data?

There is an application.
I write in SharedPreferences settings.
I reinstall the application (I write the code - I compile it on the phone) - the settings fly off.
Where to save the settings - so that not when reinstalling / updating - the data remains?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GavriKos, 2016-07-26
@GavriKos

If you want to save data when reinstalling (uninstalling and reinstalling - and not when installing over) - then you need to store them outside the application. For example, a file in the general storage. Or on a remote server.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question