The class Contacts for the contacts table,which contains a record per aggregate of raw contacts representing the same person is deprecated.It's via android
.provider.Contacts ago.Now you can use
android.provider.ContactsContract instead of.
转载于:https://my.oschina.net/jerikc/blog/53302