Skip to content Skip to sidebar Skip to footer

Skobbler Maps On Android Showing Black Screen

I'm using Skobbler SDK 2.3.0, targeting Lollipop, testing on a Nexus 5 and Galaxy S4, building on Android Studio 1.0.2. I've a single MainActivity with a navigation drawer and frag

Solution 1:

You're missing one statement after the map is initialized:

mapView.onResume();

If you have a look at the example from Skobbler you see they copy the textures in one Activity and show the map in a different one. The Activity that shows the map calls mapView.onResume() and mapView.onPause() in the Activity callbacks. If you want to load the textures and show the map in the same Activity, you'll have to call mapView.onResume() after the resources are copied and the map is initialized.

Post a Comment for "Skobbler Maps On Android Showing Black Screen"