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 - Type of phone Name

Type of phone Name

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

Type of phone Name

Postby Davide » Tue Nov 17, 2009 10:00 am

Hi everybody, I post this because I can retrieve the type of phone's Id from the content provider, but I can't retrieve the associated name (maybe because the names must be included programmatically, anyway for names I mean home, work, cell, fax and so on).
The question is, do you know what are the matches? Example, type's Id = 1 corrispond to type's name "Home" (I don't know if it's exact).
Obviously that knows where and how I can find that data in the content provider (SDK 2.0) will be better. :)

Thanks and bye!
Davide
Experienced Developer
Experienced Developer
 
Posts: 69
Joined: Mon Oct 19, 2009 12:05 pm
Location: Italy

Top

Postby Davide » Tue Nov 17, 2009 12:43 pm

Oh my... I really need to sleep... I had the answer under my nose all this time and I didn't see it...
The answer is: I have to add the names programmatically (=> res/ => string array), and the link between name and id is here:

http://developer.android.com/reference/ ... Phone.html

:(

Hope it will be useful to someone else. :)
Davide
Experienced Developer
Experienced Developer
 
Posts: 69
Joined: Mon Oct 19, 2009 12:05 pm
Location: Italy

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 11 guests