Symbian
Symbian OS Library

FAQ-1096 How can I view the CommDB settings on a web browser?

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



 

Classification: General Category: SDK
Created: 07/21/2004 Modified: 07/23/2004
Number: FAQ-1096
Platform: Symbian OS v7.0, Symbian OS v7.0s, Symbian OS v8.0, Symbian OS v8.0a, Symbian OS v8.0b

Question:
How can I view the CommDB settings on a web browser? I am looking for a tool which allows me to view the CommDB settings of a Symbian OS SDK used by the emulator on a web browser.

Answer:
    The CommDB settings can be viewed on a web browser by the use of the cfg2xhtml or xml2xhtml command line tool. The steps to do that
    are the following:

    1. Download and install the Symbian CommDB Editor from the Symbian Developer Network web site at the following link:

    http://www.symbian.com/developer/downloads/tools.html#cdb

    This tool allows a user to view and edit CommDB settings using an easy to use graphics interface and it supports Symbian OS SDKs Version 7.0
    and higher.

    2. Execute the CEDDUMP.EXE utility which comes with any Symbian OS SDK. This will read the binary CommDB settings file and create the text file
    CEDOUT.CFG in the C: drive of the emulator.


    3. Open a command prompt on Windows and change directory to the one which contains the CEDOUT.CFG file. Then issue the following command:

    cfg2xhtml -mode:file 7.0s cedout.cfg

    where "7.0s" indicates the Symbian OS version of the installed Symbian OS SDK. Supported Symbian OS version numbers can be found in directory
    "C:\Program Files\Common Files\Symbian\Tools\commdb-version\". This command will create a "cedout.html" file which is an XML-compliant HTML
    file that can be loaded on any web browser.

    If the user has the CommDB settings in the XML format e.g. in a cedout.xml file, then the appropriate command to use is the following:

    xml2xhtml -mode:file 7.0s cedout.xml

    If the user wants to generate many HTML files for all CFG files stored in a directory structure then the command to issue is the following:

    cfg2xhtml -mode:dir 7.0s somedir\

    and for XML files:

    xml2html -mode:dir 7.0s somedir\

    where "somedir" is the root directory of the location that contains the CFG or XML files. These tools will then generate HTML files for all CFG or XML files
    under this directory as well as its subdirectories.