View Single Post
Posts: 1 | Thanked: 3 times | Joined on Apr 2013
#12
Hi,

Thanks for the work with the python script. It worked perfect for importing landmarks into the phone's database.

However, syncing with nokia maps (or as it's now, here.com) didn't work right away. After some tinkering, I noticed that for a new entry few additional zeroes need to be written into the database.

Code:
cursor.execute("insert into object (class_name, modified, version, sharing, linkmods, updeps, downdeps, no_sync) values ('location', 1, 0, 0, 0, 0, 0, 0)")
If you replace the command after #insert object with this, it will work. This will leave the timestamp field empty, but it does not seem to be required for the sync to work.
 

The Following 3 Users Say Thank You to JanneP For This Useful Post: