CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 通讯/手机编程 android开发

文件名称:ContentProvider

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2015-10-28
  • 文件大小:
    455.72kb
  • 已下载:
    0次
  • 提 供 者:
  • 相关连接:
  • 下载说明:
    别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容来自于网络,使用问题请自行百度

当应用继承ContentProvider类,并重写该类用于提供数据和存储数据的方法,就可以向其他应用共享其数据。虽然使用其他方法也可以对外共享数据,但数据访问方式会因数据存储的方式而不同,如:采用文件方式对外共享数据,需要进行文件操作读写数据;采用sharedpreferences共享数据,需要使用sharedpreferences API读写数据。而使用ContentProvider共享数据的好处是统一了数据访问方式。-When applying inheritance ContentProvider class, and override methods class is used to provide data and storage of data, it can share its data to other applications. Although the use of other methods may also external shared data, but data access because of the way data is stored and different, such as: the use of papers share of external data, the need for file operations to read and write data use sharedpreferences share data, you need to read sharedpreferences API write data. The benefits of using shared data ContentProvider unified data access method.


(系统自动生成,下载前可以参看下载内容)

下载文件列表

ContentProviderDemo1/
ContentProviderDemo1/.classpath
ContentProviderDemo1/.project
ContentProviderDemo1/.settings/
ContentProviderDemo1/.settings/org.eclipse.jdt.core.prefs
ContentProviderDemo1/AndroidManifest.xml
ContentProviderDemo1/assets/
ContentProviderDemo1/gen/
ContentProviderDemo1/gen/com/
ContentProviderDemo1/gen/com/imooc/
ContentProviderDemo1/gen/com/imooc/contentproviderdemo1/
ContentProviderDemo1/gen/com/imooc/contentproviderdemo1/BuildConfig.java
ContentProviderDemo1/gen/com/imooc/contentproviderdemo1/R.java
ContentProviderDemo1/libs/
ContentProviderDemo1/libs/android-support-v4.jar
ContentProviderDemo1/proguard-project.txt
ContentProviderDemo1/project.properties
ContentProviderDemo1/res/
ContentProviderDemo1/res/drawable-hdpi/
ContentProviderDemo1/res/drawable-hdpi/ic_launcher.png
ContentProviderDemo1/res/drawable-ldpi/
ContentProviderDemo1/res/drawable-mdpi/
ContentProviderDemo1/res/drawable-mdpi/ic_launcher.png
ContentProviderDemo1/res/drawable-xhdpi/
ContentProviderDemo1/res/drawable-xhdpi/ic_launcher.png
ContentProviderDemo1/res/layout/
ContentProviderDemo1/res/layout/activity_main.xml
ContentProviderDemo1/res/menu/
ContentProviderDemo1/res/menu/main.xml
ContentProviderDemo1/res/values/
ContentProviderDemo1/res/values/dimens.xml
ContentProviderDemo1/res/values/strings.xml
ContentProviderDemo1/res/values/styles.xml
ContentProviderDemo1/res/values-sw600dp/
ContentProviderDemo1/res/values-sw600dp/dimens.xml
ContentProviderDemo1/res/values-sw720dp-land/
ContentProviderDemo1/res/values-sw720dp-land/dimens.xml
ContentProviderDemo1/src/
ContentProviderDemo1/src/com/
ContentProviderDemo1/src/com/imooc/
ContentProviderDemo1/src/com/imooc/contentproviderdemo1/
ContentProviderDemo1/src/com/imooc/contentproviderdemo1/MainActivity.java
ContentProviderDemo1/src/com/imooc/contentproviderdemo1/MyContentProvider.java

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com