android 通过ContentProvider实现sqlite数据库共享

上传者: shjn2004 | 上传时间: 2021-03-20 15:07:47 | 文件大小: 326KB | 文件类型: RAR
采用ContentProvider实现android sqlite数据库的共享,包含了本项目对数据库的访问和第三方项目(新建项目)对数据库的访问。

文件下载

资源详情

[{"title":"( 78 个子文件 326KB ) android 通过ContentProvider实现sqlite数据库共享","children":[{"title":"android ContentProvider","children":[{"title":"第三方访问程序","children":[{"title":"Connectprovider","children":[{"title":"bin","children":[{"title":"classes.dex <span style='color:#111;'> 8.84KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"drawable-ldpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 2.60KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 8.98KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 13.74KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 4.94KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"jarlist.cache <span style='color:#111;'> 119B </span>","children":null,"spread":false},{"title":"classes","children":[{"title":"com","children":[{"title":"provider","children":[{"title":"test","children":[{"title":"BuildConfig.class <span style='color:#111;'> 343B </span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'> 391B </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 710B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 404B </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 337B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 524B </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 424B </span>","children":null,"spread":false},{"title":"ConnectproviderActivity$3.class <span style='color:#111;'> 1.85KB </span>","children":null,"spread":false},{"title":"ConnectproviderActivity$2.class <span style='color:#111;'> 2.74KB </span>","children":null,"spread":false},{"title":"ConnectproviderActivity$1.class <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false},{"title":"ConnectproviderActivity$4.class <span style='color:#111;'> 1.51KB </span>","children":null,"spread":false},{"title":"ConnectproviderActivity.class <span style='color:#111;'> 3.79KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"resources.ap_ <span style='color:#111;'> 34.18KB </span>","children":null,"spread":false},{"title":"Connectprovider.apk <span style='color:#111;'> 40.15KB </span>","children":null,"spread":false}],"spread":true},{"title":"res","children":[{"title":"drawable-ldpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 2.67KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 9.18KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 14.05KB </span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 196B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 5.11KB </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"main.xml <span style='color:#111;'> 3.27KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"proguard-project.txt <span style='color:#111;'> 781B </span>","children":null,"spread":false},{"title":"assets","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"provider","children":[{"title":"test","children":[{"title":"BuildConfig.java <span style='color:#111;'> 159B </span>","children":null,"spread":false},{"title":"R.java <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"provider","children":[{"title":"test","children":[{"title":"ConnectproviderActivity.java <span style='color:#111;'> 5.39KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 851B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 364B </span>","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 563B </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 745B </span>","children":null,"spread":false},{"title":"libs","children":[{"title":"Profile.jar <span style='color:#111;'> 1002B </span>","children":null,"spread":false}],"spread":true}],"spread":false}],"spread":true},{"title":"Sqllitetest","children":[{"title":"bin","children":[{"title":"classes.dex <span style='color:#111;'> 13.41KB </span>","children":null,"spread":false},{"title":"Sqllitetest.apk <span style='color:#111;'> 42.52KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"drawable-ldpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 2.60KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 8.98KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 13.74KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 4.94KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"jarlist.cache <span style='color:#111;'> 119B </span>","children":null,"spread":false},{"title":"classes","children":[{"title":"com","children":[{"title":"sqlpackage","children":[{"title":"Sqllite","children":[{"title":"BuildConfig.class <span style='color:#111;'> 353B </span>","children":null,"spread":false},{"title":"SqllitetestActivity$3.class <span style='color:#111;'> 1.85KB </span>","children":null,"spread":false},{"title":"SqllitetestActivity$5.class <span style='color:#111;'> 998B </span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'> 406B </span>","children":null,"spread":false},{"title":"Profile.class <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"SqllitetestActivity$6.class <span style='color:#111;'> 909B </span>","children":null,"spread":false},{"title":"SqllitetestActivity$4.class <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 725B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 419B </span>","children":null,"spread":false},{"title":"Sqlprovider.class <span style='color:#111;'> 4.13KB </span>","children":null,"spread":false},{"title":"SqllitetestActivity$2.class <span style='color:#111;'> 2.75KB </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 352B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 559B </span>","children":null,"spread":false},{"title":"SqllitetestActivity$1.class <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false},{"title":"DBHelper.class <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"SqllitetestActivity.class <span style='color:#111;'> 5.09KB </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 439B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"resources.ap_ <span style='color:#111;'> 34.35KB </span>","children":null,"spread":false}],"spread":true},{"title":"res","children":[{"title":"drawable-ldpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 2.67KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 9.18KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 14.05KB </span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 188B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 5.11KB </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"main.xml <span style='color:#111;'> 3.27KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"proguard-project.txt <span style='color:#111;'> 781B </span>","children":null,"spread":false},{"title":"assets","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"sqlpackage","children":[{"title":"Sqllite","children":[{"title":"BuildConfig.java <span style='color:#111;'> 164B </span>","children":null,"spread":false},{"title":"R.java <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"sqlpackage","children":[{"title":"Sqllite","children":[{"title":"Sqlprovider.java <span style='color:#111;'> 2.88KB </span>","children":null,"spread":false},{"title":"SqllitetestActivity.java <span style='color:#111;'> 6.85KB </span>","children":null,"spread":false},{"title":"DBHelper.java <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false},{"title":"Profile.java <span style='color:#111;'> 997B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 847B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 364B </span>","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 563B </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"lint.xml <span style='color:#111;'> 53B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

  • mythzk :
    能在深度剖析一下就更好了
    2016-03-20
  • xiaoxiongzhuzhu :
    没有问题,挺好的,很好的学习资源
    2013-12-24
  • wym101010 :
    不错,可以直接使用了。
    2013-12-23
  • wuhanxiaolin :
    程序没问题,正用到这块呢,程序很完整
    2013-12-16
  • 玻璃瓶子 :
    好东西 我正好用得着
    2013-11-30
  • yanlipu :
    代码还可以,没有文件流关闭啊
    2013-11-15
  • wongainia158158 :
    正用到这块呢,程序很完整
    2013-10-27
  • feihuiwu123 :
    程序是没有问题,单数据库单表,学生数据库(字段:学号,姓名,专业),提供了增删改查4种常用功能。
    2013-10-25
  • wanjiAri :
    程序没问题,正用到这块呢,程序很完整。谢谢楼主分享。
    2013-10-16
  • magiz19 :
    程序没问题挺好的。
    2013-09-11

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明