diff -r 51a74ef9ed63 -r ae94777fff8f Symbian3/SDK/Source/GUID-BC67F13E-4B5A-5078-AE9B-826304BC14FD.dita --- a/Symbian3/SDK/Source/GUID-BC67F13E-4B5A-5078-AE9B-826304BC14FD.dita Wed Mar 31 11:11:55 2010 +0100 +++ b/Symbian3/SDK/Source/GUID-BC67F13E-4B5A-5078-AE9B-826304BC14FD.dita Fri Jun 11 12:39:03 2010 +0100 @@ -1,36 +1,33 @@ - - - - - -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

+ + + + + +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