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. Thanks for all your past and future contributions.

Archived:Problem in accessing multiple e-mail address fields from a MIDlet in Series 40 2nd Edition (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
Created: User:Technical writer 1 (24 Aug 2006)
Last edited: hamishwillee (22 Oct 2013)


MIDlets cannot get access to more than one e-mail field even if there are multiple e-mail addresses for that specific contact.


MIDlets cannot get access to more than one e-mail field. The method Contact.countValues(Contact.EMAIL) returns "1" even if a contact contains more than one e-mail address.
Also trying to access the second e-mail address with Contact.getString(ContactEMAIL, 1) ends up with an OutOfBounds exception. However, the toSerialFormat method returns a vCard with all e-mail addresses for that contact.


No workaround available.

This page was last modified on 22 October 2013, at 05:55.
45 page views in the last 30 days.