How to Recover Facebook Contact for Native Address Book (i.e People App) from Motorola RAZR
I can get normal contact with a Motorola Razr 4.0.4 device using the code below.
private Cursor getContacts()
{
// Run query
Uri uri = ContactsContract.Contacts.CONTENT_URI;
String[] projection = new String[] {
ContactsContract.Contacts._ID,
ContactsContract.Contacts.DISPLAY_NAME
};
String selection = ContactsContract.Contacts.IN_VISIBLE_GROUP + " = '" +
(mShowInvisible ? "0" : "1") + "'";
String[] selectionArgs = null;
String sortOrder = ContactsContract.Contacts.DISPLAY_NAME + " COLLATE LOCALIZED ASC";
return managedQuery(uri, projection, selection, selectionArgs, sortOrder);
}
But I can't get the facebook contact that has a number so I can show it to the user.
I searched on stackoverflow and found that facebook contacts are limited.
My question is is there a way to bypass facebook contacts or other groups in motorola razr 4.0.4.
+3
source to share
No one has answered this question yet
Check out similar questions: