OsmDroid show blank screen with blocks
        Posted  
        
            by 
                Lennie
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Lennie
        
        
        
        Published on 2012-12-13T08:19:18Z
        Indexed on 
            2012/12/13
            17:03 UTC
        
        
        Read the original article
        Hit count: 510
        
Am trying to use OsmDroid with MapQuest maps downloaded from Mobile Atlas Creator. I followed all the instructions to generate the map tiles, upload them to the SDcard etc but when I run this on the device I get a screen with a bunch of empty boxes... What am I doing wrong?
> @Override
>     public void onCreate(Bundle savedInstanceState) {
>         super.onCreate(savedInstanceState);
>         setContentView(R.layout.osm_map);
>         mapView = (MapView) findViewById(R.id.mapview);
>         mapView.setTileSource(TileSourceFactory.MAPQUESTOSM);
>         mapView.setBuiltInZoomControls(true);
>         mapView.setUseDataConnection(false);
>         mapController = mapView.getController();
>         mapController.setZoom(15);
>     }
>     protected boolean isRouteDisplayed() {
>         // TODO Auto-generated method stub
>         return false;
>     }
        © Stack Overflow or respective owner