I’m having Facebook for Android on my phone which automatically synces the FB profile pictures of the people in my contact list to my phone.
I’d like to use those pictures within my app where I access ContactsContract.PhoneLookup.
Do I really need the Facebook SDK to do that? I guess not, but I cannot find any evidence of the pictures being saved somewhere around ContactsContract
You simply need to query for the Photo URI and use the URI as per your needs.
This method will help you
Or there is another approach:
Please note that the URI record may not exists. If the images for example are stored on the SDCard and that is not present, the URI will return no photo about it. For this you need to do further checks.
This will help you also (if Uri fails it sets a default placeholder image):
and calling that function (contactimage is an ImageView):