Developing Mobile Apps with the Arc GIS Runtime
Developing Mobile Apps with the Arc. GIS Runtime SDK for. NET Rich Zwaap Morten Nielsen Esri UC 2014 | Technical Workshop |
Agenda • The Arc. GIS Runtime • Getting started with. NET • Mapping • Editing • Going offline • Geocoding and routing • Using Native Device Capabilities Esri UC 2014 | Technical Workshop | Developing Mobile Apps with the Arc. GIS Runtime SDK for. NET
The Arc. GIS Runtime Esri UC 2014 | Technical Workshop | Developing Mobile Apps with the Arc. GIS Runtime SDK for. NET
Esri UC 2014 | Technical Workshop |
Esri UC 2014 | Technical Workshop |
Runtime Platforms Desktop OS X Windows Desktop Windows Store Java. SE . NET i. OS QT Mobile Android Embedded Windows Phone Esri UC 2014 | Technical Workshop | Developing Mobile Apps with the Arc. GIS Runtime SDK for. NET Windows Mobile A
Runtime Architecture • Platform API wraps C++ core • You write code in the language of the platform (C#, VB, Java, Objective-C, etc) • No need to be concerned with details of Core Android Arc. GIS Runtime API x 86 Java i. OS OS X Qt x 64 WPF . NET ARM C++ ‘Runtime Core’ Esri UC 2014 | Technical Workshop | Developing Mobile Apps with the Arc. GIS Runtime SDK for. NET A
Runtime SDK for. NET • APIs for three platforms • Desktop, Store (tablet), Phone • One common API surface Arc. GIS Runtime API . NET C++ ‘Runtime Core’ Esri UC 2014 | Technical Workshop | Developing Mobile Apps with the Arc. GIS Runtime SDK for. NET Windows Desktop API Windows Store app API Windows Phone API
Esri UC 2014 | Technical Workshop |
Esri UC 2014 | Technical Workshop |
Devices devices… Esri UC 2014 | Technical Workshop | Type Presentation Title Here
Getting started with the. NET Runtime where do I get started? Esri UC 2014 | Technical Workshop | Developing Mobile Apps with the Arc. GIS Runtime SDK for. NET
Arc. GIS Runtime SDK • • Conceptual doc, API reference, samples, and the developer community - Start here: http: //developers. arcgis. com/net - Beta community: https: //betacommunity. esri. com Git. Hub: Samples, Toolkit, Offline app, Portal Viewer app Arc. GIS Runtime SDK Guide API Ref Samples Community Arc. GIS Runtime API C++ ‘Runtime Core’ Esri UC 2014 | Technical Workshop | Developing Mobile Apps with the Arc. GIS Runtime SDK for. NET A
Arc. GIS for Developers http: //developers. arcgis. com • SDK Content – Documentation, API Reference, Samples • Register for a developer account (free) - Register applications - • Client. ID for licensing Runtime apps at Basic level - Create cloud-hosted services - Receive 50 credits per month for development and testing - Download Arc. GIS Runtime SDKs Can also log in with an Arc. GIS Online account Esri UC 2014 | Technical Workshop | Developing Mobile Apps with the Arc. GIS Runtime SDK for. NET
Arc. GIS Runtime SDK for. NET Developer’s Guide http: //developers. arcgis. com/net/desktop/guide • Getting started - System requirements - Installation • Tutorials • High-level concepts • Platform-specific content • - Desktop - Store - Phone Sign up for beta at https: //betacommunity. esri. com/ Esri UC 2014 | Technical Workshop | Developing Mobile Apps with the Arc. GIS Runtime SDK for. NET
Demo Developer Resources developers. arcgis. com Esri UC 2014 | Technical Workshop | Developing Mobile Apps with the Arc. GIS Runtime SDK for. NET
Mapping I can haz map in my appz? Esri UC 2014 | Technical Workshop | Developing Mobile Apps with the Arc. GIS Runtime SDK for. NET
Adding a map • Map class - Defines layers to be shown - Also specifies initial extent and spatial reference - Data object – not rendered directly Esri UC 2014 | Technical Workshop | Developing Mobile Apps with the Arc. GIS Runtime SDK for. NET
Adding a map • Different layer types for different data sources - Arc. GISTiled. Map. Service. Layer – tiled Arc. GIS for Server map services - Arc. GISDynamic. Map. Service. Layer – dynamic Arc. GIS for Server map services - Arc. GISImage. Service. Layer – Arc. GIS for Server image services - Feature. Layer – layers within map services and geodatabases - Arc. GISLocal. Tiled. Layer – tile packages - More classes for non-Arc. GIS data sources (Bing, Open. Street. Map, Geo. RSS, CSV, etc) Esri UC 2014 | Technical Workshop | Developing Mobile Apps with the Arc. GIS Runtime SDK for. NET
Adding a map • Map. View class - Control that defines appearance of map within application (position on page, width, height, etc) - Takes Map as a property - Also specifies: - Display of user location (GPS) - Editing behavior via the Editor class - Map navigation methods and events Esri UC 2014 | Technical Workshop | Developing Mobile Apps with the Arc. GIS Runtime SDK for. NET
Demo Mapping let’s try it… Esri UC 2014 | Technical Workshop | Developing Mobile Apps with the Arc. GIS Runtime SDK for. NET
Editing and MVVM, and location display, and… Esri UC 2014 | Technical Workshop | Developing Mobile Apps with the Arc. GIS Runtime SDK for. NET
Going Offline pulling the plug Esri UC 2014 | Technical Workshop | Developing Mobile Apps with the Arc. GIS Runtime SDK for. NET
Taking Data Offline – Tiled Map Services • Use Export. Tile. Cache. Task to take tiled map services offline Generate. Tile. Cache. Async – creates a tile package (. tpk) or compact cache - Download. Tile. Cache. Async – downloads a. tpk or compact cache - Generate. Tile. Cache. And. Download. Async – does both in one call - • Feature services – use Geodatabase. Sync. Task - Generate. Geodatabase. Async – creates a geodatabase Use Arc. GISHttp. Client to download the result Esri UC 2014 | Technical Workshop | Developing Mobile Apps with the Arc. GIS Runtime SDK for. NET
Taking Data Offline – Feature Services • Geodatabase. Sync. Task – take feature services offline - Generate. Geodatabase. Async – creates a geodatabase Use Arc. GISHttp. Client to download the result Esri UC 2014 | Technical Workshop | Developing Mobile Apps with the Arc. GIS Runtime SDK for. NET
Demo Going Offline let’s pull the plug… Esri UC 2014 | Technical Workshop | Developing Mobile Apps with the Arc. GIS Runtime SDK for. NET
Sync – Reconnecting with the Data Source • Geodatabase. Sync. Task. Sync. Geodatabase. Async - Push updates from the client and download changes from the service - Only changes (deltas) are downloaded/uploaded Esri UC 2014 | Technical Workshop | Developing Mobile Apps with the Arc. GIS Runtime SDK for. NET
Demo Sync plugging back in Esri UC 2014 | Technical Workshop | Developing Mobile Apps with the Arc. GIS Runtime SDK for. NET
Fully Disconnected Workflows Create Runtime Content from Arc. Map and include in application • Arc. GISLocal. Tiled. Layer – tile packages • • Feature. Layer – geodatabases and shapefiles (coming soon) Esri UC 2014 | Technical Workshop | Developing Mobile Apps with the Arc. GIS Runtime SDK for. NET
Demo Disconnected Workflows: Using Runtime Content Esri UC 2014 | Technical Workshop | Developing Mobile Apps with the Arc. GIS Runtime SDK for. NET
Routing & Geocoding Esri UC 2014 | Technical Workshop | Developing Mobile Apps with the Arc. GIS Runtime SDK for. NET
Native Device Capabilities extending your device with your devices Esri UC 2014 | Technical Workshop | Developing Mobile Apps with the Arc. GIS Runtime SDK for. NET
What’s coming… Esri UC 2014 | Technical Workshop | Developing Mobile Apps with the Arc. GIS Runtime SDK for. NET
Future Releases • Raster layers – create from local raster data (GDAL) • New vector layers – create from local vector data (geopackage, shapefile, kml) • Analysis functions - add to your layers • 3 D viewing • More offline capabilities • - Feature service table – equivalence with Arc. GISFeature. Layer - Versioned data support Better support for authoring/reading maps • @ Next release: Some APIs will release items before others… • @ Next, Next release: APIs will be back in sync Esri UC 2014 | Technical Workshop | Developing Mobile Apps with the Arc. GIS Runtime SDK for. NET
UC Runtime Sessions Esri UC 2014 | Technical Workshop | Developing Mobile Apps with the Arc. GIS Runtime SDK for. NET
Arc. GIS Runtime SDK Sessions – Thursday Session Name Time Location Arc. GIS Runtime SDKs: The Road Ahead 1: 30 pm – 2: 45 pm Room 07 A/B Esri UC 2014 | Technical Workshop | Developing Mobile Apps with the Arc. GIS Runtime SDK for. NET
Thank you… • Please fill out the session survey: Offering ID: 1665 Online – www. esri. com/ucsessionsurveys Paper – pick up and put in drop box Esri UC 2014 | Technical Workshop | Developing Mobile Apps with the Arc. GIS Runtime SDK for. NET
Esri UC 2014 | Technical Workshop | Developing Mobile Apps with the Arc. GIS Runtime SDK for. NET
- Slides: 38