Sound in vCard

Login to reply to this topic.
Mon, 2005-08-08 12:57
Joined: 2005-06-01
Forum posts: 76
Hello Developers,

I am creating a vCard with sound as a property. I have to use CParserPropertyValueBinary for it.

CParserProperty *SoundProperty  = CParserProperty::NewL( *sound, KVersitTokenSOUND, paramArray);

will automatically set the Uid to KVersitPropertyBinaryUid.

So while parsing the created vCard I must get the value of "id"  as KVersitPropertyBinaryUid

CParserPropertyValue* bvalue = (CParserPropertyValue*) pro->Value();
TUid kid = bvalue->Uid();
TInt id  = kid.iUid;

But it returns KVersitPropertyHBufCUid. Even I am explicitly setting the UId as KVersitPropertyBinaryUid. But same problem. Can anybody has done it before will suggest me? Whats the problem?

thanks in Advance.

..
KiraN Puranik

  • Login to reply to this topic.