How to Create an Android App Tutorial #6: Saving Data with SharedPreferences
Автор: Web Development Tutorials
Загружено: 2015-10-14
Просмотров: 7846
Описание:
#1 Android Design Book: http://amzn.to/1manEt5
Check out my newest Android App here: https://play.google.com/store/apps/de...
In the sixth Android video tutorial on creating an app, we look at how to save our current high score by using SharedPreferences. Before doing so, we fix a localization error where we hard coded some strings in our code. From there, we set up reference to SharedPreferences so that in the onCreate method, we can get our saved high score and in the onPause method, we can save our high score. We use the onPause method since Android guarantees us this method will be called before an activity is destroyed.
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: