Android代码-Contacts

时间:2022-08-25 22:00:44
【文件属性】:

文件名称:Android代码-Contacts

文件大小:107KB

文件格式:ZIP

更新时间:2022-08-25 22:00:44

Android代码

Contacts Android Contacts API. Quick Start Initialize Contacts Library public class MyApplication extends Application { @Override public void onCreate() { super.onCreate(); Contacts.initialize(this); } Get All Contacts List contacts = Contacts.getQuery().find(); Get Contacts with phone numbers only Query q = Contacts.getQuery(); q.hasPhoneNumber(); List contacts = q.find(); Get Specific fields Query q = Contacts.getQuery(); q.include(Contact.Field.DisplayName, Conta


【文件预览】:
Contacts-master
----.gitignore(77B)
----sample()
--------.gitignore(7B)
--------build.gradle(672B)
--------src()
----settings.gradle(31B)
----build.gradle(264B)
----gradlew(5KB)
----CHANGELOG.md(2KB)
----README.md(2KB)
----gradlew.bat(2KB)
----gradle.properties(467B)
----gradle()
--------wrapper()
----contacts()
--------.gitignore(7B)
--------build.gradle(2KB)
--------src()

网友评论