My name is Rodrigo Cericatto and I'm an Android Developer that's trying to implement offline maps in Android. In the last 13 days I'm researching how to do it, with no success.
1) I tried putting a .osm map file into the /mnt/sdcard/osmdroid/ folder (as researched in the links below):
But the map is not showed. Just appears a white color!
2) I tried using links like the ones below, but again, the maps stayed white.
3) I've created an Stack Overflow topic, asking about it. But still I got no solution:
So, what am I missing? It's so weird because OSMDroid calculates routes, shows overlays, do everything, except show offline maps. And if almost everybody uses OSMDroid, there must be a way to obtain offline maps! If weren't a way, nobody would be using, right?
I've found a lot of links in web saying that or option 1) works, or 2). I've tested this applications into a Motorola Atrix (Android 2.3.6) and a Google Nexus 4 (Android 4.4.2). But for me, nothing works.
I've also researched into the OSMDroid forum:
Unfortunatelly, again, I got no success.
So, I'm asking here into the forum for a link or source code (working) of an offline map that is showed by OSMDroid, without staying white.
and drop a TileMill .mbtiles file in /sdcard/osmdroid it should work without a hitch. Here's a post I wrote about this a while back (including code):http://wherewithal1.wordpress.com/2013/03/06/field-maps/ The post dealt with an older version of OSMDroid, but I have successfully done the same with the latest version.