GoDB Developer Network
Tuesday, November 29, 2005
  Ged Reference


Ged is the tool used to import and export data between html pages and databases and
GoDB's file system.

Note: This is used by GStudio Internally.

Ged can be used for the following :

1) Import Html, Image , Database, Text, config and forms.

2) Export database and config files.




Notes :

GoDB filesystems SHOULD be named as "bdb" and should be in the current working directory (of ged and simulator). All the following operations are executed on this file.


Usage : GED [options] InFile [ext]

Options



-a Add Any File without translation. Used to add raw binary files.

Usage: Ged -a xyz.txt



-h Add Html files with tag translation. Used to load html pages and forms.

Usage: Adding a Page -- Ged -h test.html .txt

Adding a form-- Ged -h test.html


Note: Refer to -p option to set font height while translation.



-p Sets the font height for translation. This should be combined with -h option.

Usage: ged -p 12 -h test.htm

Note: If this option is not provided then ged assumes a font height of 8.



-g Translates image into GoDB Image file.

Usage: ged -g [FileName] [Rle] [ColorDepth]


Rle - Determines the Compression

0 - Uncompressed.
1 - Compressed.


ColorDepth -

0 - Monochrome

1 - Pallete based 256 color

2 - 64k Colors (RGB565 format).



-i Will index the a database table

Usage: ged -i [Tablename] [IndexFileName] [KeyField] [KeyLength_in_chars]


Ex: ged -i Comp Comp.idx CompID 12


 
Comments: Post a Comment

Links to this post:

Create a Link



<< Home
Welcome to the unofficial GoDB Developer Network. This blog is completely dedicated to GoDB platform -- a multi platform Mobile RAD tool for developing handheld and wireless applications for Windows Mobile (Pocket PC,Win CE, Smartphones), Palm, Symbian, Embedded Linux, Linux, Win 32, etc. Fellow GoDB developers can find sample codes, contribute to the blog and Mobility related news for the benefit of the mobile development community as a whole.

ARCHIVES
2005-11-20 / 2005-11-27 / 2005-12-04 / 2005-12-11 / 2006-11-05 /


Powered by Blogger