diff -r 000000000000 -r 89d6a7a84779 Symbian3/SDK/Source/GUID-BC67F13E-4B5A-5078-AE9B-826304BC14FD.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/SDK/Source/GUID-BC67F13E-4B5A-5078-AE9B-826304BC14FD.dita Thu Jan 21 18:18:20 2010 +0000 @@ -0,0 +1,36 @@ + + + + + +Versit: +Versit Example +
Description

This example code first creates a vCard +parser using the CParserVCard class. Then it creates a +NOTE property with a string literal as its value, using CParserGroupedProperty and CParserPropertyValue classes. +The property is associated with the vCard parser using the CParserVCard::AddPropertyL() method. +Finally, the vCard is externalized or exported to a file by calling the CParserVCard::ExternalizeL() method.

The +example also shows how to internalize or import a vCard from a file. A session +with the file server is established using the RFs class +to read the vCard from the file using a file read stream (RFileReadStream class).

Note +that the procedure to create a vCal parser using the CParserVCal class +is similar to that of creating a vCard parser.

+
Download

Click on the following link to download +the example: VersitExample.zip

Click: browse to view the example code.

+
Usage

This is a console application and it builds +an executable called VersitExample.exe in the standard +location (\epoc32\release\winscw\ <build_variant> for +CodeWarrior). After launching the executable, depending on the emulator you +are using, you may need to navigate from the app launcher/shell screen to +view the console.

+
Class Summary

CParserVCard

CParserGroupedProperty +

CParserPropertyValue

+
See also

Using +Versit

+
\ No newline at end of file