[G1 Android Development] HardCorePawn:
Unfortunately, as Brut.all mentioned somewhere earlier in this thread... the mobilemaps.clients.google.com server isn't as straightforward as getting them from the desktop google maps... apparently they use some funky binary protocol on top of HTTP to retrieve data from that server... apparently the server is used for all their mobile apps, not just maps...

Maybe if we kidnap him, and force him to watch paint dry, Brut.all will get "bored to do it" ;)

Firstly, you're going to struggle without "root"... the temp file is hidden in the /data folder which you won't be able to access without root permissions :(

Secondly, I think, as chasepack noted, that you might have forgotten to edit the .map file to change the first line to read BrutMap.

If it doesn't run in "Brut mode", (aside from the folders being named incorrectly), the zooms wont be set correctly, so just removing the "google" from the folder names wont work... as the tiles will be under the wrong zoom levels, so Brut will not be able to find them.

The .map file should look something like this (obviously, your zoom levels and co-ords will be different):

BrutMap
01-13: -46.014336634827444, 165.234375 : -44.956830586450984, 172.265625
01-13: -46.27871314692156, 165.5859375 : -46.014336634827444, 171.9140625
01-13: -44.956830586450984, 165.5859375 : -44.42807756226276, 171.5625

Good news... I like good news :D

Not sure if this was aimed at me or Brut.all... but I checked it out... it appears that those .nmap files are a database file of some sort... without the doc's that explain the file format exactly, it would be a little difficult to use them.

Also the NaviMapper app seems a little limited (and you have to hand edit the MapSources.xml to create an entry for GoogleMaps)... You can only select "rectangular" areas (so in my country you end up with large expanses of water around the island :rolleyes:) and to get the higher zooms, you can only select smaller portions of the map.

Mapcacher allows you to create a pretty complex area to download (ie. I traced around the outline of the North Island of New Zealand... i had a couple of hundred marker pins tracing just around the coast line... I set it to detailed and it automatically generated a map file with 52 "rectangular" areas to download... so I waste little time (and disk space) on downloading silly blue squares out in the middle of the ocean ;)

I also think that I saw somewhere in the thread that Brut.all is investigating some sort of db storage... but he'd need to confirm or deny this... or was it that he was thinking of caching the tiles in a folder/filename format compatible with popular/common tile downloaders?? :confused:

Nope, you cannot... the app just calculates the X,Y values for the tile (based on real world co-ords and zoom level) and looks it up from the folder structure...

However, there is no reason you cannot create and store them this way on your PC... just so long as they only exist in Z/Y/X format on the phone.... if you have overlapping area's it won't matter... when you copy them to phone, just overwrite the files... because any particular Z/Y/X file will ALWAYS be the same as it always refers to a specific area of the earth that does not change (until google do a map data upgrade of course ;) )

Yeah... I probably should have put some sort of warning on there... :rolleyes:

although the mapcacher.com thing does give you an estimate of how many tiles will be downloaded... it is pretty accurate...