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 - ContactsContract and IM information

ContactsContract and IM information

Put your problem here if it does not fit any of the other categories.

ContactsContract and IM information

Postby malianx » Tue Jan 19, 2010 5:29 am

I have managed to get several working sets from the ContactsContract api, however for the life of me I cannot find the URI/Column combination that holds the information for IM_PROTOCOL and IM_NAME.

I've tried:
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1.  
  2. Cursor myCursor =
  3.  
  4.                         getContentResolver().query(
  5.  
  6.                                         ContactsContract.StatusUpdates.CONTENT_URI,
  7.  
  8.                                         null,
  9.  
  10.                                         null,
  11.  
  12.                                         null,
  13.  
  14.                                         ContactsContract.Contacts.DISPLAY_NAME + " ASC");
  15.  
  16.  
Parsed in 0.011 seconds, using GeSHi 1.0.8.4

and
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1.  
  2.  
  3.  
  4.                 Cursor myCursor =
  5.  
  6.                         getContentResolver().query(
  7.  
  8.                                         ContactsContract.Presence.CONTENT_URI,
  9.  
  10.                                         null,
  11.  
  12.                                         null,
  13.  
  14.                                         null,
  15.  
  16.                                         ContactsContract.Contacts.DISPLAY_NAME + " ASC");
  17.  
  18.  
Parsed in 0.011 seconds, using GeSHi 1.0.8.4


And everything else I could think of... everything returns null for those fields, even though the contact has a AIM name and a Gtalk name set up in Contacts.

Any ideas where those fields are?
malianx
Freshman
Freshman
 
Posts: 4
Joined: Sat Jan 16, 2010 8:41 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 14 guests