Symbian
Symbian OS Library

FAQ-0572 How do I use CContactNumberField in Contacts?

[Index][spacer] [Previous] [Next]



 

Classification: C++ Category: Application Engines
Created: 02/15/2001 Modified: 01/16/2002
Number: FAQ-0572
Platform: Symbian OS v6.0

Question:
I want to use CContactNumberField but can't see how to create one or to get a pointer to its data. There is no KStorageTypeNumber I can pass to the constructor. Also the documentation says that the NumberStorage() method used to get a pointer to the number data panics. How am I supposed to store numbers in Contacts?

Answer:
CContactNumberField is not supported at present. It was put there as a placeholder for a possible future implementation which has not occurred. Instead, numbers should be stored as strings using the CContactTextField type.