更新时间:2023-02-25 10:41:34
有关API以前的版本5,你必须使用联系人
类和5起,你必须使用在 ContactsContract
类。
For API versions prior 5 you have to use the Contacts
class and for 5 onwards you have to use the ContactsContract
class.
您需要查询API的版本,并在那决定使用哪一个类。
You have to query the API version and upon that decide which class to use.