Original address:
ArcGIS Runtime for Android Development tutorial V2.0 (1) Basic Concepts-arcgis_mobile column-Blog channel-csdn.net
http://blog.csdn.net/arcgis_mobile/article/details/8113183
1 , Basic Concepts
1.1 Android Introduction
In November 2007, Google launched its mobile OS Android, claiming that Android was the first truly open and complete mobile operating system for mobile devices. Since then, Android-based phones and tablets have started to emerge and quickly occupy the market.
Android-based Linux kernel, open source, consists of the Linux kernel, System runtime, application framework, and applications , as shown in.
- Android Core System services are based on the Linux kernel, such as security, memory management, process management, network protocol stacks, and drive models. The kernel acts as an abstraction layer between the software layer and the hardware layer.
- The system runtime includes the system library and the runtime library.
- The system library contains a number of C + + libraries that can be used by different components of the Android system. They provide services to developers through the Android application framework.
- The runtime is made up of core libraries and Dalvik virtual institutions. The core library provides most of the functionality of the Java programming language Core library, with each Android application running in its own process, with a separate instance of the Dalvik virtual machine.
- The application Framework provides application developers with a variety of controls and services in the Api,android application architecture that can be reused.
- applications are software that provides a variety of features on an Android system that can interact with users. Android provides basic applications such as making calls, sending and receiving text messages, contacts, desktops, and more. Developers can develop a wide variety of applications based on the APIs provided by the application framework.
Android-based phones and tablets are now ubiquitous. Perhaps at this point, you are browsing the Arcgis_mobile (http://blog.csdn.net/arcgis_mobile) blog on your Android tablet to learn about ArcGIS Runtime for Android development. There is also a wealth of resources on Android on the Internet. There is no further introduction to Android here, please refer to the Android Developer website (http://developer.android.com).
1.2 ArcGIS Runtime for Android Introduction
ArcGIS Runtime SDKs for Smartphones and Tablets (http://www.esri.com/software/arcgis/smartphones/ Develop) is a mobile app development kit from ESRI for developers and currently supports three major mobile operating systems: iOS, Android, and Windows phone. Once you have registered with ESRI global account, you can download each version of the development kit and other related materials for free. Arcgisruntime SDK for Android official page as shown in.
At the ArcGIS Runtime sdkfor Android website, you can browse the help page online, download the development package, review the requirements of the development package for the system, how to install the development package, and more. In addition, the page lists new blog and app information to provide users with the latest technical resources.
ArcGIS Runtime SDK for Android obtains data and service resources through the ArcGIS Server rest service. ESRI released the GeoServices REST specification (http://www.esri.com/industries/landing-pages/geoservices/ geoservices.html), this standard specifies the access parameters and the structure of the returned data for the various interfaces of the ArcGIS REST service, which is encapsulated by the ArcGIS Runtime SDK forandroid. In fact, the ArcGIS rest interface-based API, including the ArcGIS Runtime SDK for android/ios/windows Phone,arcgis API for Flex/silverlight/javascript, And the ArcGIS Runtime SDK for Java/.net, are encapsulated based on this standard. Although the development packages of different platforms and languages have their own characteristics, the programming model of the corresponding service-side is consistent. Can be a good illustration of this.
In addition to the ArcGIS Server,arcgis Runtime SDK for Android, you can easily access resources on ArcGIS online through the Portal API. The portal API is described in detail later in this section.
Until now, the latest version of ArcGIS Runtime sdkfor Android is 2.0. Compared with version 0.9, the SDK architecture has changed a lot since the 1.0 version. The main change is that the core functions are written in C + +, and the SDK layer (Java) is invoked in a JNI manner to improve efficiency. Therefore, you need a GPU that supports OpenGLES2.0. There have been previous development tutorials based on version 0.9, but they are not available for 1.0 and later versions. This is also the reason for rewriting the development tutorials based on version 2.0.
ArcGIS Runtime for Android Development tutorial V2.0 (1) Basic concepts