Revision as of 07:58, 28 June 2012 by hamishwillee (Talk | contribs)

Archived:Problem in accessing multiple e-mail address fields from a MIDlet in Series 40 2nd Edition (Known Issue)

From Nokia Developer 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
Platform(s): Series 40 2nd Edition
Series 40 2nd Edition
Created: User:Technical writer 1 (24 Aug 2006)
Last edited: hamishwillee (28 Jun 2012)


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.

63 page views in the last 30 days.