DTM database

From OESF

(Difference between revisions)
Jump to: navigation, search
m
Current revision (04:37, 21 October 2007) (edit) (undo)
m (Undo revision 10360 by 90.152.8.69 (Talk) Remove gibberish)
 

(12 intermediate revisions not shown.)

Line 1:

Line 1:

-
[http://midnightbrave.freehostia.com/teatro-roma/ teatro roma] [http://cyclique.freehostia.com/content/cuore-di4/ cuore di donna] [http://cyclique.freehostia.com/content/asus-notebook/ asus notebook sempron 3000] [http://bachenau.125mb.com/discoteche-taormina.htm discoteche taormina] [http://gimaynar.125mb.com/small/download-mario/ download mario winas i don t wanna know] [http://rimarsh.125mb.com/topic/everybody-changing/ everybody changing keane] [http://suhorne.125mb.com/pc/ pc 1000] [http://souya.freehostia.com/small/salude.htm salude] [http://www.shadowthecatslj.pop3.ru/data/pasion-de/ pasion de gavilanes cancion] [http://souya.freehostia.com/small/la-cosa3.htm la cosa buffa] [http://www.shadowthecatslj.pop3.ru/data/ninja-rap/ ninja rap] [http://kiwibttrflyt.h18.ru/directory/www-luca.htm www luca sepe it] [http://www.devochek.pop3.ru/directory/ypsilon-.htm ypsilon 1 3 multijet oro] [http://ruwilhel.125mb.com/resources/palmare-pocket.htm palmare pocket pc con integrato] [http://www.terry-a-boot.pop3.ru/content/monitor-r/ monitor r300] [http://souya.freehostia.com/small/sampdoria-store.htm sampdoria store] [http://suhorne.125mb.com/sony-dsc/ sony dsc p200 fotocamere digitali] [http://krazykat1187.freehostia.com/description/lili-marlen/ lili marlen lala anderson] [http://kiwibttrflyt.h18.ru/directory/tv-del.htm tv del katar] [http://midnightbrave.freehostia.com/matteo/ matteo] [http://www.anafema-device.pop3.ru/view/biglietti-aerei/ biglietti aerei bologna lamezia terme] [http://cyclique.freehostia.com/content/elicotteri-modelli/ elicotteri modelli aerei ed] [http://timo-kiev.freehostia.com/lee-william.htm lee william] [http://moniqueleigh.freehostia.com/data/club-privee2/ club privee campania] [http://goer.freehostia.com/description/custodia-subacquea8.htm custodia subacquea pentax] [http://chistovskaya.freehostia.com/topic/multifunzione-epson2/ multifunzione epson laser con fax e adf] [http://bulopipe.125mb.com/web/seca-.htm seca 2 key for cyfra] [http://biwittic.125mb.com/nec-wt/ nec wt610] [http://cashdolla.h18.ru/resources/vita-bassa.htm vita bassa uomo] [http://krazykat1187.freehostia.com/description/ldsex/ ldsex] [http://goer.freehostia.com/description/matono.htm matono] [http://www.chaoticidealism.pop3.ru/blog/easyshare-dx.htm easyshare dx7630 kodak] [http://krazykat1187.freehostia.com/description/de-ce8/ de ce ma minti htm] [http://www.prairiesky.pop3.ru/view/masters-of/ masters of the universe] [http://ramangel.125mb.com/topic/set-up.htm set up] [http://www.wildhand.pop3.ru/topic/eros-d.htm eros d epoca] [http://moniqueleigh.freehostia.com/data/testo-di40/ testo di wherever you will go the calling] [http://www.fuzps.pop3.ru/content/hotel-fabrizio/ hotel fabrizio rimini] [http://ramangel.125mb.com/topic/gli-spostati.htm gli spostati] [http://midnightbrave.freehostia.com/nike-shox16/ nike shox dendara] [http://ohvoice.125mb.com/web/audi-piemonte/ audi piemonte] [http://kalahiet.125mb.com/articles/panamar/ panamar] [http://www.shadowthecatslj.pop3.ru/data/platinum-prog/ platinum prog] [http://www.fuzps.pop3.ru/content/motorola-edge/ motorola edge] [http://www.nadz0r.pop3.ru/new/vecchie-puttane/ vecchie puttane] [http://gealbrig.125mb.com/library/www-bolognaeros.htm www bolognaeros com] [http://moniqueleigh.freehostia.com/data/isdn-router/ isdn router wireless] [http://bachenau.125mb.com/francescorenga.htm francescorenga] [http://midnightbrave.freehostia.com/cappello-a/ cappello a cilindro] [http://maross.125mb.com/library/societa-di.htm societa di capitali] [http://www.sturuntsev.pop3.ru/articles/il-ballo/ il ballo del mattone] [http://timo-kiev.freehostia.com/origini-di.htm origini di lavorazione della seta] [http://ramangel.125mb.com/topic/brother-dr.htm brother dr6000] [http://souya.freehostia.com/small/polar-si.htm polar s610i] [http://evbailly.125mb.com/fotos-dibertidas/ fotos dibertidas] [http://gealbrig.125mb.com/library/ricerca-della.htm ricerca della felicita] [http://www.devochek.pop3.ru/directory/porta-a.htm porta a porta] [http://hehayfor.125mb.com/styles/videoproiettore-/ videoproiettore 2600 lumen] [http://bulopipe.125mb.com/web/fornelli-in.htm fornelli in crociera] [http://cyclique.freehostia.com/content/www-bratzpack/ www bratzpack com] [http://www.tjmclean84.pop3.ru/web/mercado/ mercado] [http://gimaynar.125mb.com/small/dragonstea-dintei/ dragonstea dintei] [http://taedward.125mb.com/description/pizza-napoletana/ pizza napoletana] [http://rimarsh.125mb.com/topic/globalizzazzione/ globalizzazzione] [http://bulopipe.125mb.com/web/scaricare-festivalbar.htm scaricare festivalbar 2004] [http://triniophoeni.h18.ru/vento-nel/ vento nel vento] [http://souya.freehostia.com/small/il-grande28.htm il grande mcgonagall] [http://bulopipe.125mb.com/web/sicurezza-bambini.htm sicurezza bambini finestre] [http://keniff.125mb.com/topic/despre-tine.htm despre tine rmx o zone] [http://ruwilhel.125mb.com/resources/ragazze-per.htm ragazze per video] [http://chistovskaya.freehostia.com/topic/brigate-rosse/ brigate rosse] [http://souya.freehostia.com/small/host-org.htm host17 org] [http://rimarsh.125mb.com/topic/jhonny-deeep/ jhonny deeep] [http://www.wylt.pop3.ru/la-spezia/ la spezia sara assicurazioni] [http://moniqueleigh.freehostia.com/data/www-pinnacle/ www pinnacle liquid] [http://biwittic.125mb.com/xiaoxiao/ xiaoxiao 3] [http://keniff.125mb.com/topic/civ-iii.htm civ iii per windows xp] [http://www.fuzps.pop3.ru/content/qa-e/ q3a e linux] [http://evbailly.125mb.com/toshiba-pentium/ toshiba pentium m] [http://www.fuzps.pop3.ru/content/rr-com/ rr com] [http://gimaynar.125mb.com/small/custodia-sub/ custodia sub nikon] [http://cyclique.freehostia.com/content/bobby-helm/ bobby helm] [http://www.teplohead.pop3.ru/description/technics-giradischi.htm technics giradischi sl] [http://biwittic.125mb.com/governo-inglese/ governo inglese] [http://kalahiet.125mb.com/articles/gioco-online/ gioco online sport invernale] [http://triniophoeni.h18.ru/m-p/ m p benevento] [http://cyclique.freehostia.com/content/la-notte10/ la notte dei morti viventi 3] [http://www.rei794.pop3.ru/articles/costruisci.htm costruisci] [http://bulopipe.125mb.com/web/tajga.htm tajga] [http://chistovskaya.freehostia.com/topic/limp-bizkit/ limp bizkit results may vary] [http://goer.freehostia.com/description/cristina-moglia.htm cristina moglia] [http://goer.freehostia.com/description/audi-tt6.htm audi tt 225] [http://reliles.125mb.com/library/www-livescore.htm www livescore com com] [http://hehayfor.125mb.com/styles/scissorhands/ scissorhands] [http://kiwibttrflyt.h18.ru/directory/voyeur-blog.htm voyeur blog] [http://www.terry-a-boot.pop3.ru/content/catherin-bell/ catherin bell hot line] [http://www.terry-a-boot.pop3.ru/content/daniele-di/ daniele di maglie non so piu che cosa sc] [http://timo-kiev.freehostia.com/maria-sharapova.htm maria sharapova upskirt] [http://www.devochek.pop3.ru/directory/napoli-bologna.htm napoli bologna biglietti aerei] [http://chistovskaya.freehostia.com/topic/antenna-amplificata4/ antenna amplificata fm] [http://www.worthwhilehosting.com/banners/auto/sfcudg.html Insalata estiva] [http://www.ccrs.uzh.ch/user/root/rxapfw.html Malattia unghia] [http://www.startonlineweb.com/help/new/kssjgm.html Carlomagni aliceposta it] [http://www.worthwhilehosting.com/banners/auto/qqdmhe.html Scopate casalinghe] [http://www.worthwhilehosting.com/banners/auto/hshsrm.html Gabry] [http://www.worthwhilehosting.com/banners/auto/owaunh.html Free hard pics] [http://www.hiidenkivenpaivakoti.fi/help/new/msagrs.html Dechatlon abbigliamento sportivo] [http://www.startonlineweb.com/help/new/ikdmpf.html Roma pizza vino cucina maciste] [http://www.worthwhilehosting.com/banners/auto/tjeqad.html Clessidra] [http://www.hiidenkivenpaivakoti.fi/help/new/kjafds.html E donkey] [http://www.worthwhilehosting.com/banners/auto/xnhxlc.html Ariano irpino] [http://www.ccrs.uzh.ch/user/root/bsvdcl.html Albergo linz] [http://www.startonlineweb.com/help/new/lipbok.html Ricariche omnitel gratis] [http://www.startonlineweb.com/help/new/dgcngn.html Racconti eccitanti] [http://www.startonlineweb.com/help/new/kowkbq.html Nizza shopping] [http://www.ccrs.uzh.ch/user/root/agqncj.html Las palmas] [http://www.hiidenkivenpaivakoti.fi/help/new/eehume.html Winx solo gratis] [http://www.hiidenkivenpaivakoti.fi/help/new/rjrmbk.html Zoofilia sex] [http://www.worthwhilehosting.com/banners/auto/leffrt.html Giochi di illusione ottica] [http://www.worthwhilehosting.com/banners/auto/rxochm.html Mulatta nuda] [http://www.worthwhilehosting.com/banners/auto/waikji.html Costiera amalfitana] [http://www.startonlineweb.com/help/new/ciahwp.html Testimonio di geova] [http://www.worthwhilehosting.com/banners/auto/qkarso.html Fenici fuoco] [http://www.hiidenkivenpaivakoti.fi/help/new/tqjbxp.html Verifica velocita adsl] [http://www.startonlineweb.com/help/new/lmkklu.html Dolce gabbana it] [http://www.startonlineweb.com/help/new/shxasm.html Video elettrostimolatori] [http://www.worthwhilehosting.com/banners/auto/senmaw.html Espresso vending macchina] [http://www.ccrs.uzh.ch/user/root/iiijfb.html Foto enna settimana santa] [http://www.worthwhilehosting.com/banners/auto/osirqi.html Agriturismo siena] [http://www.ccrs.uzh.ch/user/root/apbhpp.html Testicoli] [http://www.worthwhilehosting.com/banners/auto/svfqdu.html Dosaggio prolattina] [http://www.worthwhilehosting.com/banners/auto/sjfdft.html Sex teen virgin] [http://www.startonlineweb.com/help/new/nstoea.html Www%2cdarlinait] [http://www.ccrs.uzh.ch/user/root/gchxvr.html Casco motocicletta nolan shoei] [http://www.startonlineweb.com/help/new/rdeqii.html Astrologia cartomanzia] [http://www.worthwhilehosting.com/banners/auto/scljhb.html Sparito gratis] [http://www.startonlineweb.com/help/new/ggchkx.html Apparecchiature centro estetici] [http://www.hiidenkivenpaivakoti.fi/help/new/mwofpg.html Ipnosi] [http://www.ccrs.uzh.ch/user/root/bbbfel.html Kamehasutra ita] [http://www.ccrs.uzh.ch/user/root/smpvok.html Video pompini free] [http://www.startonlineweb.com/help/new/lmscbf.html San severo] [http://www.startonlineweb.com/help/new/iuvngx.html Mondo chat it] [http://www.worthwhilehosting.com/banners/auto/gfctif.html Siepe] [http://www.ccrs.uzh.ch/user/root/fjajnl.html Grassone troie] [http://www.ccrs.uzh.ch/user/root/sqcfgc.html Inculate casalinghe] [http://www.startonlineweb.com/help/new/earrmq.html Regione lombardia] [http://www.hiidenkivenpaivakoti.fi/help/new/jmwiwl.html Tatuaggi gladiatore] [http://www.ccrs.uzh.ch/user/root/pbvmks.html Imetec asciugacapelli] [http://www.ccrs.uzh.ch/user/root/xbjqau.html Telefoni cellulare umts] [http://www.ccrs.uzh.ch/user/root/lmleka.html Video bisex gratis] [http://www.hiidenkivenpaivakoti.fi/help/new/nmamnk.html Contatti msn ragazze webcam] [http://www.startonlineweb.com/help/new/efmvdd.html Www albero azzurro it] [http://www.worthwhilehosting.com/banners/auto/sidnvj.html Carta credito conto corrente] [http://www.worthwhilehosting.com/banners/auto/drtnbf.html Bticino videocitofono] [http://www.ccrs.uzh.ch/user/root/caeqis.html tatuaggi angeli] [http://www.worthwhilehosting.com/banners/auto/jcnmji.html Ishotmyself] [http://www.worthwhilehosting.com/banners/auto/lfncxg.html Irap] [http://www.ccrs.uzh.ch/user/root/psxiwq.html Best annuncio amatoriale hard] [http://www.startonlineweb.com/help/new/xrnfvw.html Wwrossoaliceit] [http://www.worthwhilehosting.com/banners/auto/epsvvv.html Benefici previdenziali amianto] [http://www.startonlineweb.com/help/new/dfhinp.html Vanessa del rio] [http://www.startonlineweb.com/help/new/dopcen.html Harmont blaine] [http://www.startonlineweb.com/help/new/txkgrx.html Basket cafe] [http://www.hiidenkivenpaivakoti.fi/help/new/pwkdre.html scopate russe] [http://www.worthwhilehosting.com/banners/auto/aebwta.html Fertilita] [http://www.startonlineweb.com/help/new/helmxk.html Parola crociata halloween] [http://www.ccrs.uzh.ch/user/root/wcnuvd.html Twistys models] [http://www.startonlineweb.com/help/new/ccssop.html W ancitel it] [http://www.worthwhilehosting.com/banners/auto/dajapn.html Cartina geografica europa] [http://www.startonlineweb.com/help/new/jnwbfu.html Cazzi enormi gay] [http://www.worthwhilehosting.com/banners/auto/uridje.html Smart fortwo pulse] [http://www.startonlineweb.com/help/new/qbaafv.html Infermiere nude] [http://www.ccrs.uzh.ch/user/root/xbnqlf.html Panerai catalogo] [http://www.hiidenkivenpaivakoti.fi/help/new/iouvrc.html Lampada abbronzante] [http://www.worthwhilehosting.com/banners/auto/artecc.html Risultati amniocentesi] [http://www.worthwhilehosting.com/banners/auto/ckmkmd.html porno professoresse] [http://www.worthwhilehosting.com/banners/auto/orgiim.html Foto troie italiane] [http://www.hiidenkivenpaivakoti.fi/help/new/jioltw.html Ladispoli] [http://www.ccrs.uzh.ch/user/root/abmgux.html Andria] [http://www.hiidenkivenpaivakoti.fi/help/new/bbphgs.html Asiatiche porche] [http://www.worthwhilehosting.com/banners/auto/panrdg.html Adattatore porta parallela usb] [http://www.hiidenkivenpaivakoti.fi/help/new/pfbxeq.html Museo brescia liguria] [http://www.ccrs.uzh.ch/user/root/wvdkat.html Sessa corsica] [http://www.ccrs.uzh.ch/user/root/rrcxbc.html Incontri gela] [http://www.startonlineweb.com/help/new/ffbuoa.html Testo get together madonna] [http://www.startonlineweb.com/help/new/nmeohl.html Culi di negre] [http://www.startonlineweb.com/help/new/sheccp.html Canzoni tiromancino] [http://www.startonlineweb.com/help/new/qixwcw.html Ricerca anima gemella] [http://www.hiidenkivenpaivakoti.fi/help/new/kngduf.html Monica setta foto sexy] [http://www.worthwhilehosting.com/banners/auto/oukgbf.html Hotel marocco] [http://www.startonlineweb.com/help/new/klpoje.html Annuncio lavoro champoluc] [http://www.ccrs.uzh.ch/user/root/qutpsb.html Amateur gallery easy free sex] [http://www.startonlineweb.com/help/new/monjfw.html Il nuovo oroscopo oggi] [http://www.startonlineweb.com/help/new/lrukca.html Penna argento] [http://www.worthwhilehosting.com/banners/auto/tuglji.html Meiosi informativa] [http://www.worthwhilehosting.com/banners/auto/rsddlv.html Ashley olsen] [http://www.startonlineweb.com/help/new/tpvdaj.html Bolaffi] [http://www.ccrs.uzh.ch/user/root/ksjdek.html Immagini dragonballx] [http://www.worthwhilehosting.com/banners/auto/qowixs.html Hair loss product] [http://www.hiidenkivenpaivakoti.fi/help/new/bhxnfs.html Segretarie arrapate] '''DTM HowTo:'''
+
'''DTM HowTo:'''
original by: [mailto:skremer@uoguelph.ca Dr. Stefan C. Kremer]
original by: [mailto:skremer@uoguelph.ca Dr. Stefan C. Kremer]

Line 19:

Line 19:

2.'''The specs and header files for the DTM access'''
2.'''The specs and header files for the DTM access'''
*The files you need are here
*The files you need are here
-
*[http://www.zaurususergroup.org/UpDownload index-req-getit-lid-197.phtml dtm.zip]
+
*[http://www.zaurususergroup.org/UpDownload+index-req-getit-lid-197.phtml dtm.zip]
-
*[http://www.zaurususergroup.org/UpDownload index-req-getit-lid-198.phtml headers.zip]
+
*[http://www.zaurususergroup.org/UpDownload+index-req-getit-lid-198.phtml headers.zip]
The headers and library are in the development image you can found on the ELSI for development on the Zaurus.
The headers and library are in the development image you can found on the ELSI for development on the Zaurus.

Line 38:

Line 38:

==Potential Problems/Gotchas==
==Potential Problems/Gotchas==
-
#header files aren't ansi-C. The header files are C compliant, but not ansi-C, so I ended up using the g compiler to avoid a slew of warning messages. I think it should be possible to translate the C files into ansi for greater compatibility.
+
#header files aren't ansi-C. The header files are C++ compliant, but not ansi-C, so I ended up using the g++ compiler to avoid a slew of warning messages. I think it should be possible to translate the C++ files into ansi for greater compatibility.
#no emulation. Since the only source for libzdtm.so is from the Zaurus itself and not a compiled library, it is not possible to emulate sofware on a PC architecture using qvfp or anything else. You can compile on your x86, but you'll have to move it to the Zaurus to actually make it run. I found that having the Zaurus on the network running sshd was critical to working effectively. I also put my ssh key on the Zaurus, so i wouldn't have to supply a password all the time. Then, I added an "install" directive to my makefile so that i could easily compile and copy over to code. I would run it in a seperate window on my desktop connected (again via ssh) to the Zaurus. This is the only way I could work efficiently. It would be really great if sharp released the source for DTM or at least an x86 compiled library.
#no emulation. Since the only source for libzdtm.so is from the Zaurus itself and not a compiled library, it is not possible to emulate sofware on a PC architecture using qvfp or anything else. You can compile on your x86, but you'll have to move it to the Zaurus to actually make it run. I found that having the Zaurus on the network running sshd was critical to working effectively. I also put my ssh key on the Zaurus, so i wouldn't have to supply a password all the time. Then, I added an "install" directive to my makefile so that i could easily compile and copy over to code. I would run it in a seperate window on my desktop connected (again via ssh) to the Zaurus. This is the only way I could work efficiently. It would be really great if sharp released the source for DTM or at least an x86 compiled library.
#unsigned char *. The header files define most strings as unsigned chars which is goofy. In particular, this is incompatible with all the standard string libraries on the Zaurus. As a consequence I had to do a lot of casting from (char *) to (unsigned char *) and back in order to get the compiler to quiet down.
#unsigned char *. The header files define most strings as unsigned chars which is goofy. In particular, this is incompatible with all the standard string libraries on the Zaurus. As a consequence I had to do a lot of casting from (char *) to (unsigned char *) and back in order to get the compiler to quiet down.

Line 49:

Line 49:

#Make sure you have the source code for the test program in the current directory.
#Make sure you have the source code for the test program in the current directory.
#Compile:
#Compile:
-
##arm-linux-g -I -c -Wall -ansi -pedantic -o arm-dtmdump.o dtmdump.cc
+
##arm-linux-g++ -I -c -Wall -ansi -pedantic -o arm-dtmdump.o dtmdump.cc
-
##arm-linux-g -Wall -ansi -pedantic -o arm-dtmdump arm-dtmdump.o -L/opt/Qtopia/sharp/lib -lzdtm
+
##arm-linux-g++ -Wall -ansi -pedantic -o arm-dtmdump arm-dtmdump.o -L/opt/Qtopia/sharp/lib -lzdtm
#Transfer to Zaurus:
#Transfer to Zaurus:
*scp arm-dtmdump zaurus@zaurus:/home/zaurus/dtmdump
*scp arm-dtmdump zaurus@zaurus:/home/zaurus/dtmdump

Current revision

DTM HowTo:

original by: Dr. Stefan C. Kremer

Note: Dr. Kremer expresses the wish to no longer been contacted directly about any issues with the DTM database and programming. I received from him all the documents he has, he no longer develops for the Zaurus. As soon as I have a hint on how to transfer these documents on this site, I will update the page and put all the links to the documents. In the mean time, you may contact me: Daniel Savard

This document describes how to write code that interfaces with DTM (the PIM storage format)

The DTM is a simple database that runs on the Zaurus SL-5600 (and the v3.10 ROM for the SL-5500) and the SL-6000 (probably also on all Zaurii newer than the SL-5600). The new PIM applications use DTM for all data storage where the old PIM applications used XML files. DTM is faster, XML is easier to interface with other code (until now).

Contents

What you need to develop on the desktop:

1.Development tools

  • need to set up your complier as described here
  • probably don't really need qpe if you are not writing code with a GUI
  • don't need qvfp

2.The specs and header files for the DTM access

The headers and library are in the development image you can found on the ELSI for development on the Zaurus.

I haven't yet figure-out how to upload documents which are not images or sound files on this site for the benefit of everyone. I have two PDF documents on the DTM and PIM specifications I wish to make available here. E-mail me if you know how to upload them here (Daniel Savard).

3.libzdtm.so

  • This is the actual shared library that you need to link against. It is found on the Zaurus in the /home/!QtPalmtop/lib/ directory. It needs to be moved to /opt/Qtopia/sharp/lib/ for cross compiling.

4.Example program

What is in headers.zip

headers.zip has the header files for the libzdtml.so library. I copied these into my working directory for compiling, but they should probably be put somewhere sensible in the /opt file structure. These are critical since they spell out some details that are not clear from DTMSpecifications.pdf. For example that all the functions are preceded by underscore. And more info about the data types.

Potential Problems/Gotchas

  1. header files aren't ansi-C. The header files are C++ compliant, but not ansi-C, so I ended up using the g++ compiler to avoid a slew of warning messages. I think it should be possible to translate the C++ files into ansi for greater compatibility.
  2. no emulation. Since the only source for libzdtm.so is from the Zaurus itself and not a compiled library, it is not possible to emulate sofware on a PC architecture using qvfp or anything else. You can compile on your x86, but you'll have to move it to the Zaurus to actually make it run. I found that having the Zaurus on the network running sshd was critical to working effectively. I also put my ssh key on the Zaurus, so i wouldn't have to supply a password all the time. Then, I added an "install" directive to my makefile so that i could easily compile and copy over to code. I would run it in a seperate window on my desktop connected (again via ssh) to the Zaurus. This is the only way I could work efficiently. It would be really great if sharp released the source for DTM or at least an x86 compiled library.
  3. unsigned char *. The header files define most strings as unsigned chars which is goofy. In particular, this is incompatible with all the standard string libraries on the Zaurus. As a consequence I had to do a lot of casting from (char *) to (unsigned char *) and back in order to get the compiler to quiet down.
  4. Not without qte. The libzdtm.so requires libqte.so.2. I'm not sure why, it just does.

Running the Test Program

  1. BACKUP YOUR MACHINE This code has only been tested on one single Zaurus. Although the database access in intended to be read-only...here comes the disclaimer... SHARP (nor Stefan Kremer) ASSUME ANY RESPONSIBILITY to any conflict, fault, or damage affecting the unit that rises from your tinkering with the DTM data.
  2. Make sure you have the libzdrm.so on your computer in the appropriate directory and that all the links libzdtm.so.0.1 are there too.
  3. Make sure you have the source code for the test program in the current directory.
  4. Compile:
    1. arm-linux-g++ -I -c -Wall -ansi -pedantic -o arm-dtmdump.o dtmdump.cc
    2. arm-linux-g++ -Wall -ansi -pedantic -o arm-dtmdump arm-dtmdump.o -L/opt/Qtopia/sharp/lib -lzdtm
  5. Transfer to Zaurus:
  • scp arm-dtmdump zaurus@zaurus:/home/zaurus/dtmdump

The compilation should succeed with no warnings or errors. The scp requires your zaurus to be on the network with the machine name 'zaurus'.

Program Output/Operation

The program takes 1 or 2 arguments as follows:

 dtmdump {todo|calendar|addressbook|memo|category}      dtmdump -f /home/zaurus/Applications/dtm/SLTDODO.BOX

The first form opens up a database based on the name; while the second opens a database based on a path. The first version is case insensitive, while the second is not.

The program then prints out the contents of the given database in an XML format. NOTE: the XML format used is __not__ compatible with the original PIM XML format! (I originally tried to do this, but the two DB's contain different kinds of information, so that problem is much harder, especially while I don't know what "rinfo" means.) The purpose of the program is mostly instructional at this point, but it should make it easy for others to extract DTM info and use it for their own purposes.

Personal tools