Android Save User Preferences Permanently?
I am developing a game. I want the user of game to determine the opponents usernames. How can I store these names internally?? I want to store them permanently. Not until the end o
Solution 1:
There are several methods. Take a look at the developer guide topic Data Storage. Your options include:
- Shared preferences
- Internal storage
- External storage (e.g., sd card)
- SQLite data base
- A network connection to a server
Solution 2:
You can check the Android Dev site, http://developer.android.com/guide/topics/data/data-storage.html has some good solutions.
Solution 3:
You will want to use Preferences
Here is a good tutorial to get you started: http://www.kaloer.com/android-preferences
Post a Comment for "Android Save User Preferences Permanently?"