手っ取り早くアプリの設定を保存したい場合の方法を調べた。
key,valueの対を簡便に扱う方法として、SharedPreferencesクラスが用意されている。
なお、SharedPreferencesインスタンスを書き換える際には、SharedPreferences.Editorを使うこと。
SharedPreferences | Android Developers
http://developer.android.com/reference/android/content/SharedPreferences.html
SharedPreferences.Editor | Android Developers
http://developer.android.com/reference/android/content/SharedPreferences.Editor.html
Android 奔走記: SharedPreferences を使ってみた
http://weide-dev.blogspot.com/2010/09/sharedpreferences.html
S.G.Labo's Blog: SharedPreferencesを利用してアプリの起動回数をカウントする
http://smartgadgetlaboratory.blogspot.com/2011/06/sharedpreferences.html
しずくくんのAndroidでゲームプログラミングしてみたいなblog : 設定などで、アプリが終了しても値を保管するときはプリファレンスを使う
http://blog.livedoor.jp/shizuku_kun/archives/51446518.html