geosolutions-it/MapStoreMobile — pull request #21 by RoProducts (2014-09-05 05:35:13+00:00)
Title: Mbtiles from local database

Ciao Lorenzo & Lorenzo,

guardate un po. Ho aggiunto un file picker dialog to select which mb tiles database file should be opened. It checks the /mapstore/ folder on sdcard. Still the preference is not very nice yet, It would need radio buttons or a list to select the renderer.To change between MbTiles database you have to click the current preference twice :-1:

As then multiple databases can be imported into the database I_m deleting any already present which was imported previously.(MbTilesDatabase.103)

Poi ora se non ci sono tile nel file, a white tile is created and returned for lower zoom levels which fixes the render problems Lorenzo Natali had issued.(MbTilesDatabaseRender.57) For higher zoom levels false is returned which will make mapsforge zoom into it.

Hope this works fine on your devices. Still not sure about the mapsforge merge. Maybe we can do this monday together so I will learn how to do it.

Have a nice weekend!

Robert