【Android】数据存取
- 手机的所谓“内存”实际是一块硬盘
- 安卓数据存取的4中方式:File文件、SharePreference共享参数(XML文档形式)、SDCard、SQLite数据库
- File
- (1) data/data/包名/files/info.txt
- (2) context
- (3) 回写
- (4) 文件权限permission——private, read only, write only, public
- SharePreference
- SDCard
- SQLite
This post is licensed under CC BY 4.0 by the author.