Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Importing/exporting databases

The API provides the facility to import extra cities and countries into the database from a data file. Only those cities and countries that obey the restrictions discussed in the modification section, see above, are imported.

Importing data updates the information of existing cities or countries. However importing cannot be used to delete data that is already set. The server can be called to clear all imported entries, change the storage location of the data or to use a different data file.

The world database keeps track of its locale, so that it can calculate the correct order of cities and countries. This allows the database to update itself if the read-only file is upgraded or the locale changes.