I am using my custom webservice arcgis server on local intranet .
the code is as below is working fine with online map service (esri) .
public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); // Retrieve the map and initial extent from XML layout mMapView = (MapView) findViewById(R.id.map);
/* ArcGISDynamicMapServiceLayer dynamicLayer = new ArcGISDynamicMapServiceLayer( dynamicMapURL); map.addLayer(dynamicLayer); */ ArcGISDynamicMapServiceLayer dynamicLayer = new ArcGISDynamicMapServiceLayer("http://gisweb2/ArcGIS/rest/services/Web_Andriod_Srv/MapServer"); mMapView.addLayer(dynamicLayer); ); }