Android数据存储

SharedPreferences----------->for primitive data

Internal Storage-------------->for private data

External Storage------------->for large data sets that are not private

SQLite Databases------------>for structured storage

---------------------------------------------------------------------------------------------------

Content Provider--------------->expose your private data to other applications.

-------------------------------->exposes read/write access to you application data,subject to whatever restrictions you want to impose.

XML文件

原文地址:https://www.cnblogs.com/daishuguang/p/3866169.html