320 likes | 526 Views
A Beginner's Guide to Developing Your First Android Application (Using the ArcGIS Runtime SDK for Android). Darin Sleight Dave Henrie. Who are we all?. Who are you? Who are we?. Todays Session. Why develop apps for Android Devices ArcGIS Runtime SDK for Android v10.1.1
E N D
A Beginner's Guide to Developing Your First Android Application (Using the ArcGIS Runtime SDK for Android) Darin Sleight Dave Henrie
Who are we all? • Who are you? • Who are we?
Todays Session • Why develop apps for Android Devices • ArcGIS Runtime SDK for Android v10.1.1 • Development Computer Setup • Sample Apps in ESRI Resource Center • Demo: Develop Hello World Map App • Running an app…android device/emulator • Publishing to Google Play
Why we decided to develop Android apps at Utah County • Many people have Android devices • Requests from users • People expect mobile apps • Over 340 active Parcel Map App installs • (Utah County also has an iOS Map app)
Browse the Android Community in the Resource Center http://resources.arcgis.com/en/home/ Demo
Development Computer Setup • System requirements http://developers.arcgis.com/en/android/system-reqs.html • Installing the SDK 1. Java Development Platform 2. Eclipse IDE 3. Google Android SDK 2.3.3 4. Google ADT plugin for Eclipse 5. ArcGIS Runtime SDK
Development Computer Setup • System requirements • Installing the SDK 1. Java Development Platform
Development Computer Setup • System requirements • Installing the SDK 1. Java Development Platform 2. Eclipse IDE
Development Computer Setup • System requirements • Installing the SDK 1. Java Development Platform 2. Eclipse IDE 3. Google Android SDK 2.3.3
Development Computer Setup • System requirements • Installing the SDK 1. Java Development Platform 2. Eclipse IDE 3. Google Android SDK 2.3.3 4. Google ADT plugin for Eclipse
Development Computer Setup • System requirements • Installing the SDK 1. Java Development Platform 2. Eclipse IDE 3. Google Android SDK 2.3.3 4. Google ADT plugin for Eclipse 5. ArcGIS Runtime SDK
5. Installing the ArcGIS Runtime SDK for Android Eclipse Plugin
Resource Center Samples http://developers.arcgis.com/en/android/sample-code/ Demo
Hello World Sample - Steps 1. Resource Center Getting Started Guide http://developers.arcgis.com/en/android/guide/hello-world.htm#ESRI_SECTION1_73552DBF7B2C48AE990F72FD60E1406E
Hello World Sample - Steps 2. Locate and open the sample New->Project->ArcGIS for Android->ArcGIS Samples for Android
3. In Eclipse set the Android Project Build Target to reference the Android Platform version you wish to support. Project->Properties->Android Hello World Sample - Steps
Running the samples • Use a physical android device connected to the computer • Enable USB Debugging on the device or…
Emulator Emulator Blog Post - Intel CPU with VT-x support - Supports native OpenGL ES 2.0
Demo of Utah County Parcel Map • Map layers • Tiled • Dynamic • Query Features • Locator Task (Geocoding) • Callout • Toggle Layers • GPS
Demo • Rover Map App • Disconnected • Base Map on device • (6GB leaving off bottom 3 cache levels) • Map Tile Packages (.tpk)
Deployment and Licensing of Custom Applications • Read ESRI’s Licensing Agreement • Attribute your application • About or Credit Screens must include the following text with hyperlink: "Mapping API provided by Esri ArcGIS Runtime API for Android“ • Attribution of Map Data in about or credit screens • Esri Logo MapView.setEsriLogoVisible(true); • Fill out a deployment questionnaire and email to esri
https://play.google.com/apps/publish/ Publishing to Google Play
developer.android.com Android Developer Help
Thank You • Darin Sleight darin@utahcounty.gov • Dave Henrie davidh@utahcounty.gov Link to Presentation: http://maps2.utahcountyonline.org/AndroidApp.ppt