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

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 - Contact pictures synced from facebook for android app

Contact pictures synced from facebook for android app

All your problems with Audio, Video and Images.

Contact pictures synced from facebook for android app

Postby yash » Sat Oct 02, 2010 5:50 pm

Hello guys,

I am trying to get access to contact pictures but unsuccessfully. My code retrieves pictures I added manually (which by then synced with gmail) but it returns null for contacts having pictures synced with facebook for android application.

Here is my code:

Code: Select all
         Uri uri = ContentUris.withAppendedId(ContactsContract.Contacts.CONTENT_URI, Long.parseLong(PhotoId));
         InputStream input = ContactsContract.Contacts.openContactPhotoInputStream(context.getContentResolver(), uri);
         if (input == null) {
            Log.e(PhotoId, "null"); // this returns null for contacts having facebook for android pictures.
         }
         return BitmapFactory.decodeStream(wizInput);


How can I load pictures from facebook too? I guess it is possible since the default messaging app and contact app from android loads the pictures correctly.
yash
Freshman
Freshman
 
Posts: 3
Joined: Fri Jul 30, 2010 2:58 pm

Top

Re: Contact pictures synced from facebook for android app

Postby jaumard » Mon Dec 13, 2010 7:10 pm

Hi,

Did you find a solution? I search a way to do this too!
I see apps make this but i don't know why...

Anyone can help us please.
jaumard
Freshman
Freshman
 
Posts: 8
Joined: Sat Aug 21, 2010 1:51 pm

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 9 guests