Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Archived:General phone number cannot be accessed by using PIM API (JSR-75) (Known Issue)

From Wiki
Jump to: navigation, search

Archived.pngArchived: 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
Created: User:Technical writer 1 (06 Apr 2006)
Updated: User:Technical writer 1 (22 Nov 2006)
Last edited: hamishwillee (31 Jul 2013)


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.


Currently no workaround exists.

This page was last modified on 31 July 2013, at 10:05.
45 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.