Intent intent = new Intent(Intent.ACTION_PICK, ContactsContract.Contacts.CONTENT_URI); startActivityForResult(intent, PICK_CONTACT); 这个跳转为什么部分手机会报错呢?? ...
分类:
其他好文 时间:
2016-05-16 20:03:26
阅读次数:
217
使用 jsonb[] 转 jsonb 类型,可以使用 postgres9.4 提供的 array_to_json 方法 alter table "Patients" alter column contact type jsonb using array_to_json(contact)::jsonb ...
分类:
Web程序 时间:
2016-05-16 14:11:41
阅读次数:
173
bzoj4510: [Usaco2016 Jan]Radio Contact Description Farmer John has lost his favorite cow bell, and Bessie the cow has agreed to help him find it! They ...
分类:
其他好文 时间:
2016-05-14 12:48:33
阅读次数:
288
首先是loginactivity login成功以后,跳转到mainActivity。 mainActivity中有四个fragment , 聊天 fragment_chat 通讯录 fragment_contact 发现, fragment_internal 我的 fragment_my 在聊天f ...
分类:
其他好文 时间:
2016-05-13 10:41:44
阅读次数:
162
一、显示头像
ContactAdapter
public View getView(int position, View convertView, ViewGroup parent) {
ViewHolder vh;
if(convertView==null){
convertView = inflater.inflate(R.layout.item_contact_...
分类:
其他好文 时间:
2016-05-13 04:26:44
阅读次数:
139
Jamie's Contact Groups
Time Limit:7000MS Memory Limit:65536KB 64bit IO Format:%I64d
& %I64u
Submit Status Practice POJ
2289
Description
Jamie is a very popular girl and has...
分类:
其他好文 时间:
2016-05-13 01:48:56
阅读次数:
203
原题:http://poj.org/problem?id=2289
#include
#include
#include
#include
#include
#include
#include
#define inf 1e9
using namespace std;
const int maxn = 2000;
const int maxm = 510000;
int n, m, num...
分类:
其他好文 时间:
2016-05-13 01:24:47
阅读次数:
124
1,获取系统联系人信息
了解 系统的 ContactsProvider 内容提供者应用
com.android.providers.contacts 包
contact2.db 数据库
表 raw_contacts(contact_id,display_name)
contact_id 3 4
保存每个联系人的id ,每一个联系人对应 一个contact_id
表 da...
分类:
移动开发 时间:
2016-05-12 18:51:18
阅读次数:
182
IOS开发中使用CNContact对通讯录增删改查 首先当然是把CNcontact包含在工程中: 1、下面是增加联系人的程序段: 2、下面是删除联系人的程序段,在苹果的开发文档中是这么描述的: 其中的contact参数是要被删除的联系人,也就以为这这个也就意味着这个联系人之前在通讯录存在,也就是说它 ...
分类:
移动开发 时间:
2016-05-06 23:12:09
阅读次数:
345
偏好设置:
plist文件详解:
#import "ViewController.h"
#import "Contact.h"
@interface ViewController ()
@property (nonatomic,copy) NSString *plistPath;
@end
@implementation ViewControll...
分类:
其他好文 时间:
2016-05-06 12:28:10
阅读次数:
141