video 1 does not support memory map error code example
Example: osmdroid offline map does not show
MapsForgeTileSource.createInstance(this.getApplication());
File[] maps = null;
XmlRenderTheme theme = null;
try {
theme = new AssetsRenderTheme(getContext().getApplicationContext(), "renderthemes/", "rendertheme-v4.xml");
} catch (Exception ex) {
ex.printStackTrace();
}
MapsForgeTileSource fromFiles = MapsForgeTileSource.createFromFiles(maps, theme, "rendertheme-v4");
MapsForgeTileProvider forge = new MapsForgeTileProvider(
new SimpleRegisterReceiver(getContext()),
fromFiles, null);
mMapView.setTileProvider(forge);
mMapView.post(
new Runnable() {
@Override
public void run() {
mMapView.zoomToBoundingBox(fromFiles.getBoundsOsmdroid(), false);
}
});