Previously I used following code for adding Layers:
UserCredentials userCredentials = new UserCredentials(); userCredentials.setUserAccount("Username", "Password"); dynamicLayer = new ArcGISDynamicMapServiceLayer(url,null, userCredentials, true); mMapView.addLayer(dynamicLayer); What's the alternative of adding ArcGISDynamicMapServiceLayer in API 100 as this Layer class doesn't exist in new API?
Solved! Go to Solution.
I believe you want to use the ArcGISMapImageLayer:
ArcGISMapImageLayer| arcgis-android
Have you tried using this? Does it work for you?
I believe you want to use the ArcGISMapImageLayer:
ArcGISMapImageLayer| arcgis-android
Have you tried using this? Does it work for you?
That worked. Thanks.