Archived:General phone number cannot be accessed by using PIM API (JSR-75) (Known Issue)
Archived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.
Article Metadata
Tested with
Devices(s): Nokia 6101, Nokia 6102, Nokia 6030, Nokia 6061, Nokia 5300
Compatibility
Platform(s): Series 40 2nd Edition and Series 40 3rd Edition
Article
Created: User:Technical writer 1
(06 Apr 2006)
Updated: User:Technical writer 1
(22 Nov 2006)
Last edited: hamishwillee
(19 Jun 2012)
Description
General phone numbers added by the user cannot be accessed from a MIDlet using the PIM API (JSR-75) as contact.countValues(Contact.TEL) does not return a general number. If a contact with a general number is added using the PIM API, then the general number can be accessed.
How to reproduce
Add a contact with a general phone number normally from the Contacts application. Then try to read the general phone number field by using the PIM API's Contact.getString() method.
Solution
Currently no workaround exists.


(no comments yet)