摘要
数据存储是开发应用程序时需要解决的最基本的问题,数据必须以某种方式保存,并且能够有效、方便的使用和更新处理。Android系统是基于Google推出的能在智能终端设备上运行的操作系统,随着应用范围和开发需求的增大,对软件的开发效率、性能及数据的存储访问机制受到普遍关注。文中从SharedPreferences、文件、SQLite、ContentProvider、网络五个方面深入阐述了Android系统的数据存储访问机制原理,并结合它们的内在原理,给出了具体实现方法。最后根据它们各自的优缺点,分析了各类存储访问机制的适用范围。
The data storage is the most basic issues that need to be addressed when developing applications, the data must be saved in some way, and to be effective, easy to use and update processing. The Android system is introduced based on Google in the intelligent terminal equipment operation of the operating system, along with the increase of application and development demand, the software develop- ment efficiency performance and data storage access mechanism has been paid more attention. From the SharedPreferences, files, SQLite, ContentProvider,network five aspects discussed deeply the data memory access mechanism principle of Android system, and combined with their intrinsic principle, the particular method of implementation was introduced. Finally based on their respective advantages and disadvantages, analyze the applicable scope of the various memory access mechanism.
出处
《计算机技术与发展》
2013年第6期90-93,共4页
Computer Technology and Development
基金
江苏省泰州市2011年计划性课题(201153)
Google中国大学合作部2012年Android创新(开发)重点资助项目(SOW12-11/64005799)
关键词
应用开发
数据存储
访问
实现方法
适用范围
application development
data storage
access
realization method
application scope