Overview
Although the latest version of ESRI official web site is 10.2.4, it is very difficult to run in the example, there are always a variety of bugs. And because the beginner is Android, so don't want to waste time to get some configuration. Decide to familiarize yourself with v2.0.0 's ArcGIS for Android first.
1, the parameters of the simulator settings according to their own this log settings: Arcgis android-installation error:install_failed_insufficient_storage
2, after creating the default project by New->project->arcgis for Android->arcgis project for Android, open the Activity.java file under/src, modify the ' OnCreate ' method is:
1 @Override2 Public voidonCreate (Bundle savedinstancestate) {3 Super. OnCreate (savedinstancestate);4Mmapview =NewMapview ( This);//instantiating a Mapview object5Mmapview.setlayoutparams (Newlayoutparams (layoutparams.fill_parent, layoutparams.fill_parent));6Arcgistiledmapservicelayer Tilelayer =New7Arcgistiledmapservicelayer ("Http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer") ;//instantiating a layer8Mmapview.addlayer (Tilelayer);//add a layer to the map window9 Setcontentview (mmapview);Ten}View Code
3, run, the result is:
Arcgis Android-helloworld