开发者

Android: How to save/restore data

In my app I have a Linked List (I use the standard List()). I want this list to be saved to the sd card (or the phone memory) every time the user exits the app and restore it every time the user starts the a开发者_如何学Pythonpp. How can I do it ?


you can use SharedPreferences , refer the doc , and this tutorial to understand how to do it :)


The Android Developer site has an excellent guide how you can store your data on the phone.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜