From OESF
(Difference between revisions)
m |
m |
(6 intermediate revisions not shown.)
|
Line 1:
|
Line 1:
|
| - | [http://citize-snips.ifrance.com/blog/hotel-mare1/ hotel mare] [http://aipir-ine.ifrance.com/bmx-freestile/ bmx freestile] [http://citize-snips.ifrance.com/blog/inger-nilsson/ inger nilsson] [http://corvisn-rnum.ifrance.com/lib/film-fantascienza/ film fantascienza] [http://pho-enixt.ifrance.com/styles/francesco-stranges/ francesco stranges] [http://mise-efaith.ifrance.com/spluegen.htm spluegen] [http://corvisn-rnum.ifrance.com/lib/donne-piedi/ donne piedi] [http://citize-snips.ifrance.com/blog/hip-hop14/ hip hop cristiano] [http://luzerna-reviver.ifrance.com/text/eos-d16.htm eos d1] [http://corvisn-rnum.ifrance.com/lib/monitor-philips14/ monitor philips 42] [http://pho-enixt.ifrance.com/styles/travelmate-lmi4/ travelmate 8104lmi] [http://away-warf.ifrance.com/new/onepiece-hentai/ onepiece hentai] [http://rjste-boat.ifrance.com/articles/videos-de54/ videos de mamadas] [http://aipir-ine.ifrance.com/seems-to/ seems to be the hardest word] [http://chri-ari.ifrance.com/directory/don-giovanni2.htm don giovanni di mozart] [http://rut-hete.ifrance.com/directory/hotel-trentino.htm hotel trentino] [http://aipir-ine.ifrance.com/la-stella2/ la stella del cinema] [http://vlut-enya.ifrance.com/text/mormont/ mormont] [http://roma-uid.ifrance.com/lib/pentium-40.htm pentium 4 3 2 ghz h t] [http://lezew0our.ifrance.com/description/david-lyme.htm david lyme] [http://roma-uid.ifrance.com/lib/belle-curve.htm belle curve] [http://tanya-abramova.ifrance.com/html/anker-nini/ anker nini roll] [http://mise-efaith.ifrance.com/le-tracce1.htm le tracce di navigazione 2004] [http://vlut-enya.ifrance.com/text/concejal-merida/ concejal merida] [http://citize-snips.ifrance.com/blog/epson-stylus53/ epson stylus d68 photo edition] [http://citize-snips.ifrance.com/blog/bloise-luigi/ bloise luigi] [http://chri-ari.ifrance.com/directory/il-lampionaio.htm il lampionaio di edimburgo] [http://roma-uid.ifrance.com/lib/rocca-di1.htm rocca di vadaro village] [http://chri-ari.ifrance.com/directory/casse-per14.htm casse per sintoamplificatore pioneer] [http://luzerna-reviver.ifrance.com/text/hca1.htm hca 20] [http://vlut-enya.ifrance.com/text/ram-ddr32/ ram ddr 512mb pc2100 notebook] [http://lezew0our.ifrance.com/description/www-felitto.htm www felitto it] [http://kzer-ncer.ifrance.com/library/mercedes-classe23.htm mercedes classe] [http://chri-ari.ifrance.com/directory/cuscinetti.htm cuscinetti] [http://leg-erasin.ifrance.com/description/rondo-veneziano3.htm rondo veneziano la serenissima] [http://lezew0our.ifrance.com/description/disegni-da12.htm disegni da colorare yugioh] [http://corvisn-rnum.ifrance.com/lib/corso-cucina3/ corso cucina liguria] [http://away-warf.ifrance.com/new/orchestra-dei3/ orchestra dei the servant] [http://citize-snips.ifrance.com/blog/coen-joel/ coen joel] [http://mise-efaith.ifrance.com/lunga-vita.htm lunga vita alla signora] [http://citize-snips.ifrance.com/blog/the-economist/ the economist] [http://chri-ari.ifrance.com/directory/asus-wifi.htm asus wifi] [http://chri-ari.ifrance.com/directory/montorsi.htm montorsi] [http://kzer-ncer.ifrance.com/library/www-gianni2.htm www gianni celeste it] [http://citize-snips.ifrance.com/blog/la-ragazza40/ la ragazza delle bolle] [http://chri-ari.ifrance.com/directory/prova-scritta.htm prova scritta esami di stato] [http://dtyc-seti.ifrance.com/new/ixus-digital.htm ixus digital 500] [http://luzerna-reviver.ifrance.com/text/ostelli-a1.htm ostelli a londra] [http://rut-hete.ifrance.com/directory/placar.htm placar] [http://leg-erasin.ifrance.com/description/naksi.htm naksi] [http://carolli-nne.ifrance.com/text/carrelli-agricoli/ carrelli agricoli] [http://away-warf.ifrance.com/new/fm1/ fm2] [http://leg-erasin.ifrance.com/description/utensili-moto.htm utensili moto] [http://leg-erasin.ifrance.com/description/dancin-on1.htm dancin on the moonlight] [http://dtyc-seti.ifrance.com/new/pena-de.htm pena de muerte] [http://lezew0our.ifrance.com/description/on-step.htm on step closer linkin park] [http://luzerna-reviver.ifrance.com/text/brunello-banfi2.htm brunello banfi 1997] [http://pho-enixt.ifrance.com/styles/e-ti4/ e ti amo di marco masini] [http://roma-uid.ifrance.com/lib/www-30.htm www 09 it] [http://citize-snips.ifrance.com/blog/bowilng/ bowilng] [http://chri-ari.ifrance.com/directory/insegna-a.htm insegna a led] [http://corvisn-rnum.ifrance.com/lib/pioneer-vsxaxais/ pioneer vsxax5ais] [http://carolli-nne.ifrance.com/text/biografia-di6/ biografia di julia roberts] [http://tanya-abramova.ifrance.com/html/imperia-presto/ imperia presto] [http://luzerna-reviver.ifrance.com/text/brandy-moda.htm brandy moda] [http://kzer-ncer.ifrance.com/library/question-of.htm question of the time] [http://lezew0our.ifrance.com/description/bmw-e8.htm bmw e cabrio] [http://kzer-ncer.ifrance.com/library/roberto-mariani.htm roberto mariani] [http://chri-ari.ifrance.com/directory/rosas-rojas.htm rosas rojas] [http://kzer-ncer.ifrance.com/library/cartina-geografica31.htm cartina geografica di pavia] [http://leg-erin.ifrance.com/new/left-luggage/ left luggage] [http://vlut-enya.ifrance.com/text/microsoft-flight1/ microsoft flight simulator 2004] [http://rjste-boat.ifrance.com/articles/inni-politici/ inni politici mp3] [http://aipir-ine.ifrance.com/hillary-duff/ hillary duff nude pictures] [http://mise-efaith.ifrance.com/v-5.htm v3 30 cellulari motorola] [http://mise-efaith.ifrance.com/maggie-cheung.htm maggie cheung] [http://carolli-nne.ifrance.com/text/cellulari-rosa/ cellulari rosa] [http://away-warf.ifrance.com/new/cover-max/ cover max pezzali] [http://kzer-ncer.ifrance.com/library/lsisland.htm lsisland] [http://rjste-boat.ifrance.com/articles/ex-ragazza2/ ex ragazza eamon] [http://pho-enixt.ifrance.com/styles/tunnelpro/ tunnelpro] [http://away-warf.ifrance.com/new/escort-umbria/ escort umbria] [http://carolli-nne.ifrance.com/text/the-matador/ the matador] [http://pho-enixt.ifrance.com/styles/the-nearness1/ the nearness of you by norah jones] [http://corvisn-rnum.ifrance.com/lib/target-moda/ target moda] [http://citize-snips.ifrance.com/blog/upa-dance1/ upa dance sambame] [http://mani-ndon.ifrance.com/new/manchester-england/ manchester england] [http://leg-erasin.ifrance.com/description/accessori-per45.htm accessori per doccia] [http://rjste-boat.ifrance.com/articles/orlowski/ orlowski] [http://mani-ndon.ifrance.com/new/obbligazioni-quotazioni/ obbligazioni quotazioni] [http://citize-snips.ifrance.com/blog/sony-hc5/ sony hc17] [http://aipir-ine.ifrance.com/fotos-juliana2/ fotos juliana didone] [http://leg-erasin.ifrance.com/description/marchio-privato.htm marchio privato] [http://leg-erin.ifrance.com/new/the-legend9/ the legend of fong saiyuk] [http://vlut-enya.ifrance.com/text/marinetti-futurista/ marinetti futurista] [http://rjste-boat.ifrance.com/articles/kfamosas/ kfamosas] [http://dtyc-seti.ifrance.com/new/biondina.htm biondina] [http://leg-erasin.ifrance.com/description/i-don59.htm i don t wanna know di mario winans] [http://away-warf.ifrance.com/new/maldive-vacanza/ maldive vacanza] [http://aipir-ine.ifrance.com/motivando-a/ motivando a la yal] [http://mani-ndon.ifrance.com/new/la-scogliera1/ la scogliera del peccato] [http://dtyc-seti.ifrance.com/new/www-ismaa.htm www ismaa it] [http://mani-ndon.ifrance.com/new/videoproiettori-epson/ videoproiettori epson] [http://kzer-ncer.ifrance.com/library/minicrociera.htm minicrociera] [http://carolli-nne.ifrance.com/text/negozi-hi2/ negozi hi fi cesena] [http://citize-snips.ifrance.com/blog/nikku/ nikku] [http://chri-ari.ifrance.com/directory/schwinger.htm schwinger] [http://leg-erasin.ifrance.com/description/stigma.htm stigma] [http://dtyc-seti.ifrance.com/new/termometro-a.htm termometro a infrarossi] [http://dtyc-seti.ifrance.com/new/per-stimolare.htm per stimolare i genitali] [http://dtyc-seti.ifrance.com/new/bella-la.htm bella la vita] [http://mani-ndon.ifrance.com/new/roma-lampedusa/ roma lampedusa biglietti aerei] [http://rjste-boat.ifrance.com/articles/frases-de1/ frases de amor] [http://chri-ari.ifrance.com/directory/nike6.htm nike 20042005] [http://dtyc-seti.ifrance.com/new/consulti-cartomanzia.htm consulti cartomanzia amore cartomante] [http://aipir-ine.ifrance.com/kate-xxoo/ kate xxoo] [http://away-warf.ifrance.com/new/www-milanofinanza/ www milanofinanza it] [http://vlut-enya.ifrance.com/text/laim/ laim] [http://mise-efaith.ifrance.com/jeep-wrangler12.htm jeep wrangler toscana] [http://kzer-ncer.ifrance.com/library/tenda-svalbard.htm tenda svalbard] [http://carolli-nne.ifrance.com/text/raf-copertina/ raf copertina] [http://tanya-abramova.ifrance.com/html/flaver-pawer/ flaver pawer] [http://mani-ndon.ifrance.com/new/lotus-omega/ lotus omega] [http://chri-ari.ifrance.com/directory/dawnload-gioco.htm dawnload gioco gratis] [http://luzerna-reviver.ifrance.com/text/driver-c4.htm driver c385] [http://mani-ndon.ifrance.com/new/io-vivo1/ io vivo la mia vita] [http://dtyc-seti.ifrance.com/new/nike-triax3.htm nike triax] [http://corvisn-rnum.ifrance.com/lib/karaoke-files/ karaoke files] [http://away-warf.ifrance.com/new/sito-manga/ sito manga] [http://citize-snips.ifrance.com/blog/karen-gijman/ karen gijman] [http://roma-uid.ifrance.com/lib/nuova-panda7.htm nuova panda emotion] [http://aipir-ine.ifrance.com/stagioni-di/ stagioni di buffy in italia] [http://away-warf.ifrance.com/new/alb/ alb] [http://chri-ari.ifrance.com/directory/oberon-astronomia.htm oberon (astronomia)] [http://dtyc-seti.ifrance.com/new/www-johncena.htm www johncena com] [http://citize-snips.ifrance.com/blog/vetroceramica-nardi/ vetroceramica nardi] [http://dtyc-seti.ifrance.com/new/canon49.htm canon 830] [http://tanya-abramova.ifrance.com/html/webranking/ webranking] [http://rut-hete.ifrance.com/directory/ricette-dietetiche.htm ricette dietetiche] [http://mise-efaith.ifrance.com/risuscito.htm risuscito] [http://tanya-abramova.ifrance.com/html/erzurum-provincia/ erzurum (provincia)] [http://luzerna-reviver.ifrance.com/text/dayse-brucieri.htm dayse brucieri] [http://leg-erasin.ifrance.com/description/panasonic-nvgs12.htm panasonic nvgs250] [http://luzerna-reviver.ifrance.com/text/pinna-da.htm pinna da nuoto] [http://rut-hete.ifrance.com/directory/collane-leggendarie.htm collane leggendarie] [http://mise-efaith.ifrance.com/ninna-nanna9.htm ninna nanna federico salvatore] [http://rjste-boat.ifrance.com/articles/smack-down2/ smack down trucchi] [http://away-warf.ifrance.com/new/playstation-26/ playstation 2 slim silver (ps2)] [http://aipir-ine.ifrance.com/beverly-piaggio/ beverly piaggio] [http://leg-erasin.ifrance.com/description/il-barbero.htm il barbero de sevilla] [http://dtyc-seti.ifrance.com/new/mila-shon.htm mila shon anni 80] [http://citize-snips.ifrance.com/blog/jaguar2/ jaguar 3 2] [http://leg-erin.ifrance.com/new/aspirapolvere-w3/ aspirapolvere 2000w amstrad] [http://chri-ari.ifrance.com/directory/pet-products.htm pet products] [http://dtyc-seti.ifrance.com/new/sfilata-zoccoli.htm sfilata zoccoli legno] [http://luzerna-reviver.ifrance.com/text/acer-46.htm acer travelmate 630] [http://kzer-ncer.ifrance.com/library/ricarica-telefono.htm ricarica telefono] [http://citize-snips.ifrance.com/blog/navigazione/ navigazione] [http://citize-snips.ifrance.com/blog/juventus-roma/ juventus roma tim cup] [http://lezew0our.ifrance.com/description/freelander-roma.htm freelander roma] [http://lezew0our.ifrance.com/description/condorman.htm condorman] [http://corvisn-rnum.ifrance.com/lib/dvd-dvpns/ dvd dvpns32] [http://rut-hete.ifrance.com/directory/distributore-di.htm distributore di corrente] [http://rjste-boat.ifrance.com/articles/homind/ homind] [http://leg-erasin.ifrance.com/description/passat-tdi10.htm passat tdi 130 cv highline 4 motion] [http://mani-ndon.ifrance.com/new/locali-disco/ locali disco pub piemonte] [http://vlut-enya.ifrance.com/text/dsp-az/ dsp az1] [http://tanya-abramova.ifrance.com/html/el-nath/ el nath] [http://mani-ndon.ifrance.com/new/toyota-5/ toyota avensis 16 16v sw] [http://leg-erin.ifrance.com/new/orologio-a1/ orologio a cucu] [http://aipir-ine.ifrance.com/mille-win/ mille win] [http://chri-ari.ifrance.com/directory/mother-pride.htm mother pride] [http://rut-hete.ifrance.com/directory/espn-snooker.htm espn snooker 2004] [http://carolli-nne.ifrance.com/text/kwango/ kwango] [http://away-warf.ifrance.com/new/still-alive/ still alive wave to the 80s] [http://lezew0our.ifrance.com/description/auto-noleggio151.htm auto noleggio cannes] [http://leg-erin.ifrance.com/new/herny/ herny] [http://mise-efaith.ifrance.com/mp-mb4.htm mp3 512mb radio] [http://rut-hete.ifrance.com/directory/scopare-con4.htm scopare con una ragazza gratis] [http://pho-enixt.ifrance.com/styles/francesco-giullare/ francesco giullare di dio] [http://kzer-ncer.ifrance.com/library/rme-adi.htm rme adi 8 ds] [http://aipir-ine.ifrance.com/video-bush/ video bush e al gore] [http://leg-erasin.ifrance.com/description/mario-piu.htm mario piu communication] [http://tanya-abramova.ifrance.com/html/gps-portatili/ gps portatili] [http://lezew0our.ifrance.com/description/scanner-per6.htm scanner per pellicole canon] [http://carolli-nne.ifrance.com/text/jvc-drmxs/ jvc drmx1s] [http://dtyc-seti.ifrance.com/new/legnago-lavoro1.htm legnago lavoro] [http://citize-snips.ifrance.com/blog/hungry-space/ hungry space] [http://roma-uid.ifrance.com/lib/il-male2.htm il male] [http://luzerna-reviver.ifrance.com/text/campo-thiaroye.htm campo thiaroye] [http://corvisn-rnum.ifrance.com/lib/marina-granata/ marina granata] [http://roma-uid.ifrance.com/lib/caricatori-cd.htm caricatori cd aiwa] [http://corvisn-rnum.ifrance.com/lib/mappa-sardegna/ mappa sardegna] [http://pho-enixt.ifrance.com/styles/adsl-modem21/ adsl modem atlantis land] [http://rjste-boat.ifrance.com/articles/il-febbraio/ il febbraio italiano] [http://roma-uid.ifrance.com/lib/te-necesito2.htm te necesito amaral y beto] [http://leg-erasin.ifrance.com/description/renata-vigano.htm renata vigano] [http://citize-snips.ifrance.com/blog/canzone-anni/ canzone anni 70] [http://roma-uid.ifrance.com/lib/trevi-divx.htm trevi divx] [http://citize-snips.ifrance.com/blog/hoover-lavatrici3/ hoover lavatrici 1000 giri] '''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).
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
- 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.
- 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.
- Not without qte. The libzdtm.so requires libqte.so.2. I'm not sure why, it just does.
Running the Test Program
- 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.
- 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.
- Make sure you have the source code for the test program in the current directory.
- Compile:
- 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
- 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.