Android使用SQLite实现联系人APP

上传者: peanuo | 上传时间: 2022-05-24 20:59:55 | 文件大小: 174KB | 文件类型: ZIP
这是Android开发的一个例子,作为学习SQLite的一个样板。使用Android SQLite数据库实现联系人的增删改查功能,同时使用了ListView、Adapter来实现数据的列表显示,使用SearchView与Filter数据过滤器来实现搜索功能。

文件下载

资源详情

[{"title":"( 53 个子文件 174KB ) Android使用SQLite实现联系人APP","children":[{"title":"contacts","children":[{"title":"gradlew.bat <span style='color:#111;'> 2.21KB </span>","children":null,"spread":false},{"title":"gradlew <span style='color:#111;'> 5.17KB </span>","children":null,"spread":false},{"title":"gradle.properties <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"app","children":[{"title":"proguard-rules.pro <span style='color:#111;'> 772B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"test","children":[{"title":"java","children":[{"title":"com","children":[{"title":"peanuo","children":[{"title":"contacts","children":[{"title":"ExampleUnitTest.java <span style='color:#111;'> 396B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"androidTest","children":[{"title":"java","children":[{"title":"com","children":[{"title":"peanuo","children":[{"title":"contacts","children":[{"title":"ExampleInstrumentedTest.java <span style='color:#111;'> 781B </span>","children":null,"spread":false},{"title":"AddContactTest.java <span style='color:#111;'> 103B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"res","children":[{"title":"mipmap-xxxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 5.72KB </span>","children":null,"spread":false},{"title":"ic_launcher_foreground.png <span style='color:#111;'> 7.66KB </span>","children":null,"spread":false},{"title":"ic_launcher_round.png <span style='color:#111;'> 12.26KB </span>","children":null,"spread":false}],"spread":true},{"title":"layout-v21","children":null,"spread":false},{"title":"drawable","children":[{"title":"btn_addcontact.png <span style='color:#111;'> 5.37KB </span>","children":null,"spread":false},{"title":"btn_addimage.png <span style='color:#111;'> 7.19KB </span>","children":null,"spread":false},{"title":"ic_launcher_background.xml <span style='color:#111;'> 4.75KB </span>","children":null,"spread":false}],"spread":true},{"title":"mipmap-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false},{"title":"ic_launcher_foreground.png <span style='color:#111;'> 2.44KB </span>","children":null,"spread":false},{"title":"ic_launcher_round.png <span style='color:#111;'> 3.83KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-v24","children":[{"title":"ic_launcher_foreground.xml <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false}],"spread":false},{"title":"values","children":[{"title":"colors.xml <span style='color:#111;'> 363B </span>","children":null,"spread":false},{"title":"strings.xml <span style='color:#111;'> 641B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 394B </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 4.22KB </span>","children":null,"spread":false},{"title":"ic_launcher_foreground.png <span style='color:#111;'> 5.39KB </span>","children":null,"spread":false},{"title":"ic_launcher_round.png <span style='color:#111;'> 8.55KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"ic_launcher_foreground.png <span style='color:#111;'> 1.55KB </span>","children":null,"spread":false},{"title":"ic_launcher_round.png <span style='color:#111;'> 2.47KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 2.82KB </span>","children":null,"spread":false},{"title":"ic_launcher_foreground.png <span style='color:#111;'> 3.35KB </span>","children":null,"spread":false},{"title":"ic_launcher_round.png <span style='color:#111;'> 5.49KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-anydpi-v26","children":[{"title":"ic_launcher_round.xml <span style='color:#111;'> 272B </span>","children":null,"spread":false},{"title":"ic_launcher.xml <span style='color:#111;'> 272B </span>","children":null,"spread":false}],"spread":false},{"title":"layout","children":[{"title":"add_contact.xml <span style='color:#111;'> 4.29KB </span>","children":null,"spread":false},{"title":"contact_item.xml <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"activity_main.xml <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false},{"title":"listview_long_click_dialog.xml <span style='color:#111;'> 1.96KB </span>","children":null,"spread":false},{"title":"contact_detail.xml <span style='color:#111;'> 5.34KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"ic_launcher-web.png <span style='color:#111;'> 18.69KB </span>","children":null,"spread":false},{"title":"java","children":[{"title":"com","children":[{"title":"peanuo","children":[{"title":"contacts","children":[{"title":"AddContact.java <span style='color:#111;'> 8.32KB </span>","children":null,"spread":false},{"title":"ContactDetail.java <span style='color:#111;'> 4.95KB </span>","children":null,"spread":false},{"title":"database","children":[{"title":"ContactsHelper.java <span style='color:#111;'> 3.71KB </span>","children":null,"spread":false}],"spread":false},{"title":"LongClickDialog.java <span style='color:#111;'> 2.61KB </span>","children":null,"spread":false},{"title":"MainActivity.java <span style='color:#111;'> 7.38KB </span>","children":null,"spread":false},{"title":"adapter","children":[{"title":"ContactsAdapter.java <span style='color:#111;'> 3.70KB </span>","children":null,"spread":false}],"spread":false},{"title":"Contact.java <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false},{"title":"ContactsContentProvider.java <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".gitignore <span style='color:#111;'> 8B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 1021B </span>","children":null,"spread":false},{"title":"libs","children":null,"spread":false}],"spread":true},{"title":"gradle","children":[{"title":"wrapper","children":[{"title":"gradle-wrapper.jar <span style='color:#111;'> 53.06KB </span>","children":null,"spread":false},{"title":"gradle-wrapper.properties <span style='color:#111;'> 238B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".gitignore <span style='color:#111;'> 222B </span>","children":null,"spread":false},{"title":"settings.gradle <span style='color:#111;'> 45B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 585B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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