0

I'm new to android, and i don't know how to make an app that if you set things inside it it will save your progress once you close it.

for example, when use input's something into an EditText, like in a to-do list app, i want all the data of the app to be saved even after shutdown.

Thanks.

4

1 回答 1

2

使用 SharedPreferences http://developer.android.com/reference/android/content/SharedPreferences.html

使用getDefaultSharedPreferences(Context context)获取它们

于 2013-06-30T19:05:17.937 回答