Thread
:
Maemo Mapper v2.2 for OS2006/OS2007/OS2008
View Single Post
ugko
2008-04-30 , 05:42
Posts: 2 | Thanked: 0 times | Joined on Apr 2008
#
239
Hi GNUITE
I need your help.
I waited for the maps converter for a long time and I've started to write it by myself. But I have the trouble in gdbm usage. If I put zome data to gdbm in my PC, I don't see anything in the N800 and I dont see anything in the map base created by MM...
Just a simple code:
#include <gdbm.h>
#include <stdlib.h>
#include <stdio.h>
GDBM_FILE *db;
datum dkey, dcon;
main()
{
db = gdbm_open("Google.db",0, GDBM_READER, 0644, NULL);
dkey=gdbm_firstkey(db);
while (dkey.dptr)
{
dcon=gdbm_fetch(db,dkey);
dkey=gdbm_nextkey(db,dkey);
}
gdbm_close(db);
}
This code get keys from the gdbm created by PC and found nothing in the gdbm from MM.
Way?
If it is the byte order cause, then we have no chance to make the PC converter!?
PC converter is usefull for some cases:
1. Building own maps
2. Downloading maps from pc
3. Converting maps from other software...
I think it's very very usefull.
UG
Quote & Reply
|
ugko
View Public Profile
Find all posts by ugko