Skip to content Skip to sidebar Skip to footer

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:

  1. Shared preferences
  2. Internal storage
  3. External storage (e.g., sd card)
  4. SQLite data base
  5. 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?"