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.