首页 > 代码库 > Android数据存储

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文件