Map layer is not loaded in android application?

210
1
05-22-2018 06:37 PM
s_v_s_ravi_tejakandamuri
New Contributor
I am K S V SAI RAVI TEJA, want to develop an android application where it displays basemap of esri and the map (dynamic layer) to be posted on the basemap.
I wrote a code in javascript and added the link to ANDROID STUDIO(with a web view command) and build an apk file.
 
Now in the apk file only the base map file is loaded but not the Dynamic Map layer added to it.
 
 
 
var dynamicMapServiceLayer = new ArcGISDynamicMapServiceLayer("https://aMY_SERVER_URL/server/rest/services/Police/Police_2018/MapServer"
 
I used the above code in the JavaScript file. Please help me how to solve the problem and display the layer on the basemap.
0 Kudos
1 Reply
nakulmanocha
Esri Regular Contributor

I am little confused here. Are you using ArcGIS Runtime within AppStudio to consume a basemap + DynamicLayer or using Android Studio? If you are using Android Studio please log your issue in the Android channel. This channel is for users building apps using AppStudio.

Thanks,

Nakul

0 Kudos