Post
Topic
Board Project Development
Topic OP
[Android] SharedPreferences not to store prefs
by
Youresioure
on 17/04/2017, 15:46:51 UTC
Background:

My object-class has properties: String, (Joda) DateTime and a simple custom type.

Other applications must be able to access the stored data easily.

What method do you advise to store them?



I decided to use SharedPreferences. I converted my data into String and stored them in SharedPreferences. When reading, I cast from String.

But I know, it's usually used to store preferences.

Is it an acceptable practice to store other simple data too?

It's working at this size of the project... This is a small project and will remain that.