hi guys i wanted to save data in android application but i dont want to use shared preferences concept. can i save data on a text file in phone and perform read/write operations on it evertime I open my app for example update hall of fame everytime when game is over?
Asked
Active
Viewed 524 times
-1
-
save your values in Sqlite@Prakash Elugoti – MurugananthamS Jul 19 '16 at 13:20
-
Yes, you can use a file or a database or whatever you want. – UeliDeSchwert Jul 19 '16 at 13:21
1 Answers
0
There's a list of available options in the officional developer guide: https://developer.android.com/guide/topics/data/data-storage.html
The following options are explained there:
- Store data using shared preferences
- Save data to files on internal or external storage
- Store data in SQLite databases
- Store data on the web

anti_gone
- 973
- 8
- 18