Namespaces
Variants
Actions

Archived:CSendUi cannot resolve phone number when a name is specified in To field (Known Issue)

Jump to: navigation, search
Archived.png
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): S60 2nd Edition
S60 3rd Edition

Article
Created: User:Technical writer 1 (08 Feb 2007)
Last edited: hamishwillee (18 Jun 2012)

Description

Trying to use CSendUi::CreateAndSendMessageL() to create and send an SMS with the 'To:' field filled in with a phone number works as expected. However, using a name instead of a phone number returns the error message 'Invalid Recipient Information' even if the name exists in the address book and has a phone number assigned to it.

Solution

SendUi does not provide a feature for automatic lookup of phone numbers or other contact information.

If the name of the receiver is known when launching the SMS editor, then it is possible to use the Contacts API to search for the phone number(s) assigned to the contact.

This page was last modified on 18 June 2012, at 09:15.
294 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved