mMapView = new MapView(this, bundle.getString("MAPURL"), "", "");
No implementation found for native Lcom/esri/android/map/Layer;.nativeSetName (JLjava/lang/String;)V
Solved! Go to Solution.
mMapView = new MapView(this, "http://www.arcgis.com/home/item.html?id=7a052def7a254f46b53c10f9ae594653", "", "");
04-12 12:05:51.310: W/dalvikvm(10149): No implementation found for native Lcom/esri/android/map/Layer;.nativeSetName (JLjava/lang/String;)V
04-12 12:27:37.530: E/ArcGIS(10365): Can not init the MapView from the given WebMap
String str= getJSONQueryAsString(params[0]); JsonParser parser = h.createJsonParser( str); return WebMap.newInstance(parser, new Envelope(0, 0, 0, 0), SpatialReference.create(31255));
......JsonFactory h = new JsonFactory(); JsonParser parser = h.createJsonParser(webMapString); // this is needed to get a valid jsonparser parser.nextToken(); // get a new WebMap instance return WebMap.newInstance(parser, null, SpatialReference.create(DEFAULT_SPACIAL_REFERENCE));.........