×
Namespaces

Variants
Actions
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
Compatibility
Platform(s): Series 40 2nd Edition
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.

44 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.

×