Solved! Go to Solution.
I got it working now! 🙂
My failure was to think that as it is written in the
android api for arcgis the brackets have to be around the bingkey:
FROM THE DOCUMENTATION:
The following are examples of how you can work with the BingMapsLayer class. The code will add a map with a Bing Maps Layer of Aerial style.
MapView mv = new MapView(this);
" [your Bing Maps key ]", MapStyle.Aerial));
To initialize a Bing map in a WebMap please see the class description of the MapView.
After the initialization of the bingmapslayer i had to call .getBingLogo();
because if I don't do that i get a android strict mode error because getBingLogo()
is called in the ui-thread.
Thanks for the help!
BingMapsLayer lyr = new BingMapsLayer("AqTGBsziZHIJYYxgivLBf0hVdrAk9mWO5cQcb8Yux8sW5M8c8opEC2lZqKR1ZZXf", MapStyle.AerialWithLabels);