摘要: 接Android Contacts的使用(二)Working With Android ContactsGluing it together 整合To put this together into an application there are a few glue pieces that need to be setup along with creating classes to manage accessing the data. First we need to create a set of classes to hold the data. Also we'll crea 阅读全文
posted @ 2011-05-13 16:26 彼岸-夕 阅读(3545) 评论(1) 推荐(0) 编辑
摘要: 接Android Contacts的使用(一)API For 1.6 and Before 1.6之前的版本If you just read the begining of this article the first bit of this page is going to look familiar. This page is designed to act as a standalone guide to working with the contacts API in Android 1.6 and before. 假如你刚刚阅读了该文的开头是否有种时曾相识的感觉。该文主要是用来介绍1 阅读全文
posted @ 2011-05-05 10:48 彼岸-夕 阅读(3429) 评论(2) 推荐(1) 编辑
摘要: 前阵子搞短信,发现Android 1.x至2.0 版本联系人数据库很多地方做了更改,且关于这方面的资料也比较少,所以找到一篇文章稍作翻译了下,以供大家参考,该文将分三部分发布。Working With Android ContactsIntroduction To Android ContactsLearn to work with the Android contacts database. Basic knowledge of accessing SQLite in Android along with using Cursors is expected. See the Android 阅读全文
posted @ 2011-05-03 17:37 彼岸-夕 阅读(8005) 评论(9) 推荐(2) 编辑
摘要: 代码主要实现一个读取彩信列表的功能,原本功能是点击某条彩信记录,显示相关包括文本、图片(该处并没有对音频附件处理)等,该处就把他们整合到一起了。public class SmsPage extends ListActivity{ private final String TAG="SmsPage"; private final Uri CONTENT_URI = Uri.parse("content://mms/inbox"); //查询彩信收件箱 private final Uri CONTENT_URI_PART = Uri.parse(" 阅读全文
posted @ 2011-04-27 16:01 彼岸-夕 阅读(4526) 评论(6) 推荐(2) 编辑