I. Understand the Development Mode
First, you need to know the first thing: ArcGIS Android API depends on the Rest interface of ArcGIS Server. I believe that many people who have developed ArcGIS Server have come into contact with the rest interface, because javascript API, flex API, Silverlight API, Windows Phone API, and so on of ArcGIS, they all rely on the Rest interface services provided by ArcGIS Server. Because only browsers or mobile devices can achieve very limited functions, and ArcGIS Server is their solid backing. At the same time, rest interfaces are the most friendly way for them to interact with ArcGIS Server. We can also predict that more development models will be built around the rest interface service of ArcGIS Server in the future.
Next, let's first use the Hello world example provided by ArcGIS Android API to understand the general working principle of the API and the general aspects involved in development.
Create a hello World project
After successfully configuring the ArcGIS Android API development environment, it is very easy to create a hello World project, you only need to click [file]-> [new]-> [ArcGIS samples for Android] menu in eclipse (of course, you can also find this menu in the toolbar, you can see a wizard that contains all the examples soon:
Figure 7 menu for creating an example project
Figure 8 select "Hello World" as an Example
After the new project is created, the project name "agssamplehelloworld" shown in Figure 8 is displayed in the current workspace, all related resources of the "Hello World" example are stored in this directory. Now, we will start with these source files, configuration files, and other resources to learn the details of the ArcGIS Android project.