摘要: public void testInsert() { ContentValues values = new ContentValues();/* * 首先向RawContacts.CONTENT_URI执行一个空值插入,目的是获得系统返回的rawContactId */ Uri rawContact... 阅读全文
posted @ 2014-06-12 16:51 老榕树 阅读(966) 评论(2) 推荐(1) 编辑
摘要: 设置读取权限 主要代码public void readContacts() { Cursor cursor = this.getContentResolver().query( ContactsContract.Contacts.CONTENT_URI, null, null, null... 阅读全文
posted @ 2014-06-12 16:31 老榕树 阅读(550) 评论(0) 推荐(0) 编辑
摘要: try { HttpGet httpRequest = new HttpGet(edtUrl.getText() .toString()); HttpClient httpclient = new DefaultHttpClient(); HttpResponse res... 阅读全文
posted @ 2014-06-12 15:23 老榕树 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 谢谢管理员 很喜欢这个界面 昵称也能使用 阅读全文
posted @ 2014-06-12 15:16 老榕树 阅读(102) 评论(0) 推荐(0) 编辑