I would like to return the full Contact Image contact from Android ContactsProvider for API level 10 and above.
In my opinion, there is no way to check if I get a full-sized photo using PHOTO_URI (API level 11), which seems to be populated either with PHOTO_FILE_ID (API level 14). Then there is PHOTO_ID (API level 5) which can contain a link to the photo or not, if you do not return to PHOTO_URI or PHOTO_THUMBNAIL_URI (API level 11). I am using 2.3.3 (API level 10). This is all confusing and confusing.
I use DISPLAY_PHOTO (API level 14), it is guaranteed to give me a null value or crash below ICS (not yet verified).
I also understand that some images from third-party applications that synchronize with ContactsProvider cannot be restored and are intended only for using Android ContactsProvider, which means that the user sees the image in the phone’s Contacts application, but not in my application.
Any solution you might know about this can help me always return the full size of the api, and not the thumbnail for API level 10 and above?
Can I at least restore the Contact level thumbnail for API 10?
source
share