Solved! Go to Solution.
BingMapsLayer bingLayer; bingLayer = new BingMapsLayer("Here_Your_Bing_Key", MapStyle.Aerial); myMap.addLayer(bingLayer);
I've used Bing map, and to show it just is necessary declare our bing map layer and instance it:BingMapsLayer bingLayer; bingLayer = new BingMapsLayer("Here_Your_Bing_Key", MapStyle.Aerial); myMap.addLayer(bingLayer);
don't know how or for what works the method "getLogo()", I've tried to use it but never works as I thought.
What version of the SDK are you using? This issue was resolved in our latest release of the SDK, v2.0.
I did some more testing/investigating and realized that we did not include the fix in v2. The issue is that the BingMapsLayer is retrieving the Bing Logo on the main thread. Android apps targeting SDK 12 (Honeycomb) or higher does not allow network usage on the main UI thread and retrieving the Bing Maps Logo makes a network call. The fix will be in the next release of the SDK. In the mean time, if you are targeting platform API version 12 or higher you can explicitly turn off StictMode. This is not an issue if your minSDK is set to something lower than 12, e.g. 8 and your platform level is the same.