I am trying to read all the contacts stored in the phone using this code:
Cursor cursorNumber = context.getContentResolver (). query (Contacts.Phones.CONTENT_URI, new line [] {Contacts.Phones._ID, Contacts.Phones.NAME, Contacts.Phones.NUMBER}, null, null, null);
but the result seems to be empty until the synchronization of contacts with Google. Is it possible? Is this a limitation of the Google Contacts API?
source
share