Archived:Problem in accessing multiple e-mail address fields from a MIDlet in Series 40 2nd Edition (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
Compatibility
Platform(s): Series 40 2nd Edition
Article
Created: User:Technical writer 1
(24 Aug 2006)
Last edited: hamishwillee
(28 Jun 2012)
Overview
MIDlets cannot get access to more than one e-mail field even if there are multiple e-mail addresses for that specific contact.
Description
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.
Solution
No workaround available.


(no comments yet)