Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Motorola Droid Facebook App sync & contact photos

Motorola Droid Facebook App sync & contact photos

Problems with WiFi, SQLite ,Bluetooth, WiMax, Proxies, etc...

Motorola Droid Facebook App sync & contact photos

Postby zuggabeck » Sat Dec 05, 2009 2:43 pm

I have a small application where I display informations about a contact including the photo.
To load the photo, I use:

Code: Select all
Uri contactsURI = ContentUris.withAppendedId(Contacts.CONTENT_URI, id);
InputStream is = Contacts.openContactPhotoInputStream(getContentResolver(), contactsURI);


The id comes from an onItemClick - event in a ListView that displays all contacts (Contacts.CONTENT_URI, without any filter).

When the photo was defined "by hand" (eg a picture made by the camera) everything works fine. But if the user synced the contacts with Facebook using the Facebook application on the Droid, the method openContactPhotoInputStream always returns null, as if there was no photo defined.

Any idea what I am doing wrong?
zuggabeck
Freshman
Freshman
 
Posts: 9
Joined: Sun Nov 01, 2009 1:37 pm

Top

Return to Networking & Database Problems

Who is online

Users browsing this forum: No registered users and 5 guests