Android 开发文档 程序基础 ——Content providers组件
2010-06-19 10:47
706 查看
Content providers组件提供一系列可供其他程序使用的数据。
这些数据可以保存在文件系统中,或者SQLite数据库,或者其他任何方法。
Content providers组件扩展了ContentProvider基类,执行一系列让其他程序取得和保存数据的方法。
但是程序不会直接调用这些方法,而是利用ContentResolver对象调用其方法来代替。
ContentResolver对象可以与任何content provider对象对话。
转自我的android博客
原文
A content provider
makes a specific set of the application’s
data available to other applications. The data can be stored in the
file system, in an SQLite database, or in any other manner that makes
sense. The content provider extends the
base class to implement a standard set of methods that enable other
applications to retrieve and store data of the type it controls.
However, applications do not call these methods directly. Rather they
use a
object and call its methods instead. A ContentResolver can talk to
any content provider; it cooperates with the provider to manage any
interprocess communication that’s involved.
这些数据可以保存在文件系统中,或者SQLite数据库,或者其他任何方法。
Content providers组件扩展了ContentProvider基类,执行一系列让其他程序取得和保存数据的方法。
但是程序不会直接调用这些方法,而是利用ContentResolver对象调用其方法来代替。
ContentResolver对象可以与任何content provider对象对话。
转自我的android博客
原文
A content provider
makes a specific set of the application’s
data available to other applications. The data can be stored in the
file system, in an SQLite database, or in any other manner that makes
sense. The content provider extends the
ContentProvider
base class to implement a standard set of methods that enable other
applications to retrieve and store data of the type it controls.
However, applications do not call these methods directly. Rather they
use a
ContentResolver
object and call its methods instead. A ContentResolver can talk to
any content provider; it cooperates with the provider to manage any
interprocess communication that’s involved.
相关文章推荐
- Android 开发文档 程序基础 ——activity组件
- Android 开发文档 程序基础 ——Services组件
- Android 开发文档 程序基础——Intent filters
- Android 开发文档 之程序基础Application Fundamentals
- Android 开发文档 程序基础——Activities and Tasks
- Android 开发文档 程序基础 ——Broadcast receivers组件
- Android 开发文档 程序基础——Affinities and new tasks
- Android 开发文档 程序基础——Activating components: intents
- Android 开发文档 程序基础——Shutting down components
- Android 开发文档 程序基础——The manifest file
- Android开发之旅:应用程序基础及组件
- Android程序开发0基础教程(一)
- Android 开发基础系列——程序崩溃之Unable to instantiate activity ComponentInfo
- 用人类的思维方式去写更容易维护的代码——用<抽象-基础-逻辑>模式开发Java(Android)程序
- Android开发的基础常识二之程序解读
- odoo8 官方web客户端开发文档翻译3---Widgets Basics(基础窗口组件)
- Android核心基础-3. 开发一个Android程序-3.4. 了解工程目录结构
- Android开发之旅5:应用程序基础及组件
- Android开发之旅:应用程序基础及组件
- Android程序开发入门——组件生命周期之Broadcast receiver