How to store persistent data easily without using databases?

血红的双手。 提交于 2019-11-30 09:16:31

Depending of your context (especially but not only related to the size of your data), you may want to use the Shared Preferences, the internal storage or the external storage (the SD card).

An official guide about that is available here.

The fastest and easiest way is to use SharedPreferences if you don't store complex data.

There are many options to save data locally on the android. See http://developer.android.com/guide/topics/data/data-storage.html for more on data store.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!