Getting Started ArcGIS Runtime SDK for Android. Andy

Size: px
Start display at page:

Download "Getting Started ArcGIS Runtime SDK for Android. Andy"

Transcription

1 Getting Started ArcGIS Runtime SDK for Android Andy

2 Agenda Introduction Runtime SDK - Tools and features Maps & Layers Tasks Editing GPS Offline Capabilities Summary

3 My contact info Andy Gup, Developer Evangelist

4 SDK Features Eclipse plug-in Native ArcGIS Runtime client Maps (online/offline) Editing Routing Data collection Geoprocessing And much more!

5 Android SDK

6 Download the SDK

7 Demo 1 - Installing the SDK

8 Demo 2- Hello World Sample

9 Android Application Life Cycle

10

11 Map initialization Android oncreate() Event MapView.addLayer() OnStatusChangedListener INITIALIZATION_FAILED There was a problem INITIALIZED Start using the map

12 Starting up a map public class HelloWorld extends Activity { MapView map = null; /** Called when the activity is first created. */ public void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate); setcontentview(r.layout.main); map = (MapView) findviewbyid(r.id.map);

13 R.id.map == res/layout/main.xml

14 Minimize the map app Android onpause() Event MapView.pause()

15 Re-open the map app Android onresume() Event MapView.unpause()

16 onpause and onresume protected void onpause() { super.onpause(); if(mmapview!= null){ protected void onresume() { super.onresume(); if(mmapview!= null){ mmapview.unpause();

17 Adding layers to your map Web Maps Tiled Map Service Dynamic Maps Service Feature Layer Graphics Layer Image Layer

18 And more layers Offline Tiles WMS KML Open Street Map

19 Adding map layers map = new MapView(this); map.addlayer(new ArcGISTiledMapServiceLayer( " )); setcontentview(map);

20 Listening for MapView events // Always set these before adding layer OnStatusChangedListener.STATUS.INITIALIZED OnStatusChangedListener.STATUS.INITIALIZATION_FAILED OnStatusChangedListener.STATUS.LAYER_LOADED OnStatusChangedListener.STATUS.LAYER_LOADING_FAILED

21 Listening for MapView events Available after MapView/Layer initialized Spatial Reference of map Center of map Tile information of a tiled layer

22 Listening for Map events map.setonstatuschangedlistener(new OnStatusChangedListener() { private static final long serialversionuid = 1L; public void onstatuschanged(object source, STATUS status) { if (OnStatusChangedListener.STATUS.INITIALIZED == status) { layerbutton.setenabled(true); if (OnStatusChangedListener.STATUS.INITIALIZATION_FAILED == status){ //Let user know there was a problem

23 Listening for Layer events tiledlayer.setonstatuschangedlistener(new OnStatusChangedListener() { private static final long serialversionuid = 1L; public void onstatuschanged(object source, STATUS status) { if (OnStatusChangedListener.STATUS.INITIALIZED == status) { //TODO if (OnStatusChangedListener.STATUS.INITIALIZATION_FAILED == status && source == tiledlayer){ //Let user know there was a problem

24 Status Changed Listener Demo Microsoft Clip art

25 Listening for Layer events

26 Map touch events - MapOnTouchListener

27 Listening for map touch events map.setonsingletaplistener(new OnSingleTapListener() { private static final long serialversionuid = 1L; ); public void onsingletap(float x, float y) { Point point = map.tomappoint(x, y); final Graphic graphic = new Graphic(point, _picturesymbol); graphicslayer.addgraphic(graphic);

28 Listening for custom touch events class MyTouchListener extends MapOnTouchListener { public MyTouchListener(Context arg0, MapView arg1) { super(arg0, arg1); public boolean ondragpointermove(motionevent from,motionevent to) { return super.ondragpointerup(from,to);

29 Switching between touch listeners /** * Sets the DEFAULT MapOnTouchListener */ public void setdefaulttouchlistener(){ MapOnTouchListener ml = new MapOnTouchListener(getContext(), map); map.setontouchlistener(ml); /** * Set the MyTouchListener to override various user touch events. */ public void setdrawtouchlistener(){ _mytouchlistener = new MyTouchListener(getContext(), map); map.setontouchlistener(_mytouchlistener); /** * Remove DEFAULT MapOnTouchListener */ map.setontouchlistener(null);

30 Touch listeners demo Microsoft Clip art

31 Tasks All ArcGIS Tasks are AsyncTask - Geocode - GeoProcessing - Routing - Identify - Query

32 Performance and the UI Thread AsyncTask runs in background Handler() bound to creation thread ExecutorService manage multiple AsyncTasks Threads

33 Geoprocessing Example Step 1 class ViewShedQuery extends AsyncTask<ArrayList<GPParameter>, Void, GPParameter[]> { GPParameter[] outparams = protected void onpostexecute(gpparameter[] result) { protected GPParameter[] doinbackground( ArrayList<GPParameter>... params1) { //TODO

34 Geoprocessing Example Step protected GPParameter[] doinbackground( ArrayList<GPParameter>... params1) { gp = new Geoprocessor(_gpEndPoint); gp.setoutsr(map.getspatialreference()); try { GPResultResource rr = gp.execute(params1[0]); outparams = rr.getoutputparameters(); catch (Exception e) { e.printstacktrace(); return outparams;

35 Geoprocessing Example Step protected void onpostexecute(gpparameter[] result) { if (result == null) return; for (int i = 0; i < outparams.length; i++) { if (result[i] instanceof GPFeatureRecordSetLayer) { GPFeatureRecordSetLayer fsl = (GPFeatureRecordSetLayer) result[i]; for (Graphic feature : fsl.getgraphics()) { Graphic g = new Graphic(feature.getGeometry(), new SimpleFillSymbol(Color.CYAN) ); glayer.addgraphic(g);

36 Geoprocessing Example Step 4 GPFeatureRecordSetLayer gpf = new GPFeatureRecordSetLayer( xyz"); gpf.setspatialreference(map.getspatialreference()); gpf.setgeometrytype(geometry.type.point); // 1st input parameter - Add the point selected by the user Graphic f = new Graphic(mappoint,new SimpleMarkerSymbol(...)); gpf.addgraphic(f); // Second input parameter GPLinearUnit gpl = new GPLinearUnit("Viewshed_Distance"); gpl.setunits("esrimeters"); gpl.setdistance( ); // Add params params = new ArrayList<GPParameter>(); params.add(gpf); params.add(gpl); new ViewShedQuery().execute(params);

37 Geoprocessing demo

38 Editing Feature Layers ArcGISFeatureLayer.applyEdits() Asynchronous Create new feature Delete features Edit existing geometries Edit attributes

39 Editing Feature Layers - Online Immediate over-the-air sync (requires internet!) Adding Deleting Updating

40 Editing Feature Layers data integrity Features must confirm to layer specification Geometry type Accuracy Topology rules

41 Editing Feature Layers featurelayer.applyedits(new Graphic[] { graphic, null, null, new CallbackListener<FeatureEditResult[][]>() { public void onerror(throwable error) { // TODO implement error code ); public void oncallback(featureeditresult[][] editresult) { //update UI

42 AttributeEditor demo

43 Webmaps Uses a different pattern than tiled maps: map = new MapView( getapplicationcontext(), " username, password ); setcontentview(map);

44 GPS Location _locdisplaymgr = map.getlocationdisplaymanager(); _locdisplaymgr.setlocationlistener(new LocationListener(){ //TODO ); _locdisplaymgr.start();

45 GPS/Location Start Map and layers must be loaded Then auto center and/or draw GPS graphic

46 Configure LocationDisplayManager boolean _maploaded = false; LocationDisplayManager ldm = map.getlocationdisplaymanager(); ldm.setautopanmode(autopanmode.off); ldm.setlocationlistener(new LocationListener() { public void onlocationchanged(location loc) { if(_maploaded == true){ //Do something map.setonstatuschangedlistener(new OnStatusChangedListener() { public void onstatuschanged(object source, STATUS status) { if (status == STATUS.INITIALIZED) { _maploaded = true;

47 Listen for LocationService Updates //ldm is LocationDisplayManager() ldm.setlocationlistener(new LocationListener() { public void onlocationchanged(location loc) { if(loc!= null){ if(loc.hasaccuracy() && maploaded == true){ //TODO Handle update

48 LocationService Life protected void onpause() { super.onpause(); protected void onresume() { super.onresume(); if(map.isloaded() == true) { locationdisplaymanager.start();

49 Android GPS Test Tool

50 Demo GPS Microsoft Clip art

51 Offline Editing Routing Mapping Uses a local geodatabase Synchronize Edits via FeatureService

52

53 Local Tile Layer

54 Offline (BETA)

55 Debugging Genymotion emulator excellent! Use the Android Debug Bridge (ADB) and Logcat Log.d( Tag, string message );

56 Github Maps-app Template: Android Quick Start Sample: Android GPS Test Tool:

57 Blog posts on Android GPS

58 Application Toolkit

59 Application Toolkit

60 Andy Gup, Developer Evangelist

61

Getting Started with the Smartphone and Tablet ArcGIS Runtime SDKs. David Martinez, Kris Bezdecny, Andy Gup, David Cardella

Getting Started with the Smartphone and Tablet ArcGIS Runtime SDKs. David Martinez, Kris Bezdecny, Andy Gup, David Cardella Getting Started with the Smartphone and Tablet ArcGIS Runtime SDKs David Martinez, Kris Bezdecny, Andy Gup, David Cardella Agenda Intro - Trends - Overview ArcGIS for - ios - Windows Phone - Android Wrap

More information

Building Applications with ArcGIS Runtime SDK for Android Part II. Will Crick Dan O Neill

Building Applications with ArcGIS Runtime SDK for Android Part II. Will Crick Dan O Neill Building Applications with ArcGIS Runtime SDK for Android Part II Will Crick Dan O Neill Agenda Intro Connected editing summary Offline capabilities - Local features - Geometry Engine Platform integration

More information

Building Java Apps with ArcGIS Runtime SDK

Building Java Apps with ArcGIS Runtime SDK Building Java Apps with ArcGIS Runtime SDK Mark Baird and Vijay Gandhi A step back in time Map making 50 years ago - http://www.nls.uk/exhibitions/bartholomew/maps-engraver - http://www.nls.uk/exhibitions/bartholomew/printing

More information

Getting Started with ArcGIS Runtime SDK for Java SE

Getting Started with ArcGIS Runtime SDK for Java SE Getting Started with ArcGIS Runtime SDK for Java SE Elise Acheson, Vijay Gandhi, and Eric Bader Demo Source code: https://github.com/esri/arcgis-runtime-samples-java/tree/master/devsummit-2014 Video Recording:

More information

An introduction to ArcGIS Runtime

An introduction to ArcGIS Runtime 2013 Europe, Middle East, and Africa User Conference October 23-25 Munich, Germany An introduction to ArcGIS Runtime Christine Brunner Lars Schmitz Welcome! Christine Brunner, Germany - Software Developer

More information

Using Geoprocessing Services with ArcGIS Web Mapping APIs

Using Geoprocessing Services with ArcGIS Web Mapping APIs Esri Developer Summit in Europe November 12 London Using Geoprocessing Services with ArcGIS Web Mapping APIs Simon Liu, Andy Gup Who are your presenters? Simon Liu, Esri U.K. GIS Developer sliu@esriuk.com

More information

Building Native Apps with ArcGIS API for JavaScript Using PhoneGap and jquery. Andy Gup, Lloyd Heberlie

Building Native Apps with ArcGIS API for JavaScript Using PhoneGap and jquery. Andy Gup, Lloyd Heberlie Building Native Apps with ArcGIS API for JavaScript Using PhoneGap and jquery Andy Gup, Lloyd Heberlie Agenda Getting to know PhoneGap jquery overview jquery and ArcGIS API for JavaScript Putting it all

More information

ArcGIS Runtime SDK for Java: A Beginner s Guide. Mark Baird JC Malott

ArcGIS Runtime SDK for Java: A Beginner s Guide. Mark Baird JC Malott ArcGIS Runtime SDK for Java: A Beginner s Guide Mark Baird JC Malott Outline Intro to ArcGIS Runtime SDKs Get started: download and install the SDK Tour of the functionality of the API Basics of building

More information

Hit the Ground Running. ArcGIS Runtime SDK for Android

Hit the Ground Running. ArcGIS Runtime SDK for Android Hit the Ground Running ArcGIS Runtime SDK for Android Presenters Dan O Neill - @jdoneill Xueming Wu Introduction to the Android SDK Maps & Layers Analysis & Display Information Place Search Offline Patterns

More information

ArcGIS Runtime SDK for Android An Introduction. Xueming

ArcGIS Runtime SDK for Android An Introduction. Xueming ArcGIS Runtime SDK for Android An Introduction Dan O Neill @jdoneill @doneill Xueming Wu @xuemingrocks Agenda Introduction to the ArcGIS Android SDK Maps & Layers Basemaps (Portal) Location Place Search

More information

Building Applications with ArcGIS Runtime SDK for ios - Part I. Divesh Goyal Mark Dostal

Building Applications with ArcGIS Runtime SDK for ios - Part I. Divesh Goyal Mark Dostal Building Applications with ArcGIS Runtime SDK for ios - Part I Divesh Goyal Mark Dostal Agenda The ArcGIS System Using the Runtime SDK for ios - Display Maps - Perform Analysis - Visualize Results Q&A

More information

Building Apps with the ArcGIS Runtime SDK for ios

Building Apps with the ArcGIS Runtime SDK for ios Building Apps with the ArcGIS Runtime SDK for ios Nick Furness @geeknixta ArcGIS Runtime SDKs 10.2 Released! Runtime platforms OS X Desktop Desktop Client Windows Store QT ios.net JavaSE Mobile Android

More information

Building Native Mapping Apps with PhoneGap: Advanced Techniques Andy

Building Native Mapping Apps with PhoneGap: Advanced Techniques Andy Building Native Mapping Apps with PhoneGap: Advanced Techniques Andy Gup @agup Agenda Application life-cycle Working with UI frameworks Security Geolocation Offline Expectations Experience with PhoneGap

More information

ArcGIS Runtime SDK for WPF

ArcGIS Runtime SDK for WPF Esri Developer Summit in Europe November 9 th Rotterdam ArcGIS Runtime SDK for WPF Mike Branscomb Mark Baird Agenda Introduction SDK Building the Map Query Spatial Analysis Editing and Geometry Programming

More information

UNDERSTANDING ACTIVITIES

UNDERSTANDING ACTIVITIES Activities Activity is a window that contains the user interface of your application. An Android activity is both a unit of user interaction - typically filling the whole screen of an Android mobile device

More information

ArcGIS Runtime SDK for.net Building Apps. Antti Kajanus David Cardella

ArcGIS Runtime SDK for.net Building Apps. Antti Kajanus David Cardella ArcGIS Runtime SDK for.net Building Apps Antti Kajanus akajanus@esri.com David Cardella dcardella@esri.com Thank You to Our Generous Sponsor SDK Highlights High-performance 2D and 3D mapping Integration

More information

INTRODUCTION TO ANDROID

INTRODUCTION TO ANDROID INTRODUCTION TO ANDROID 1 Niv Voskoboynik Ben-Gurion University Electrical and Computer Engineering Advanced computer lab 2015 2 Contents Introduction Prior learning Download and install Thread Android

More information

Real-Time Embedded Systems

Real-Time Embedded Systems Real-Time Embedded Systems DT8025, Fall 2016 http://goo.gl/azfc9l Lecture 8 Masoumeh Taromirad m.taromirad@hh.se Center for Research on Embedded Systems School of Information Technology 1 / 51 Smart phones

More information

ArcGIS Runtime SDK for.net Getting Started. Jo Fraley

ArcGIS Runtime SDK for.net Getting Started. Jo Fraley ArcGIS Runtime SDK for.net Getting Started Jo Fraley Agenda What is the ArcGIS Runtime? What s new for ArcGIS developers? ArcGIS Runtime SDK 10.2 for WPF ArcGIS Runtime SDK for.net Building Windows Store

More information

Upcoming Assignments Quiz today Web Ad due Monday, February 22 Lab 5 due Wednesday, February 24 Alpha Version due Friday, February 26

Upcoming Assignments Quiz today Web Ad due Monday, February 22 Lab 5 due Wednesday, February 24 Alpha Version due Friday, February 26 Upcoming Assignments Quiz today Web Ad due Monday, February 22 Lab 5 due Wednesday, February 24 Alpha Version due Friday, February 26 To be reviewed by a few class members Usability study by CPE 484 students

More information

ArcGIS Runtime SDK for.net Building Apps. Rex Hansen

ArcGIS Runtime SDK for.net Building Apps. Rex Hansen ArcGIS Runtime SDK for.net Building Apps Rex Hansen Thank You to Our Sponsors Agenda Overview of the ArcGIS Runtime SDK for.net Resources for developers Common developer workflows: App templates, NuGet

More information

Building Android Apps Runtime SDK for Android

Building Android Apps Runtime SDK for Android Building Android Apps Runtime SDK for Android Dan O Neill & Alan Lucas Introductions What do you do What do we do - Android Development Team - Edinburgh Alan Lucas - https://github.com/alan-edi - Alaska

More information

Mobile Programming Lecture 9. Bound Services, Location, Sensors, IntentFilter

Mobile Programming Lecture 9. Bound Services, Location, Sensors, IntentFilter Mobile Programming Lecture 9 Bound Services, Location, Sensors, IntentFilter Agenda Bound Services Location Sensors Starting an Activity for a Result Understanding Implicit Intents Bound Service When you

More information

Esri Developer Summit in Europe Building Applications with ArcGIS Runtime SDK for Java

Esri Developer Summit in Europe Building Applications with ArcGIS Runtime SDK for Java Esri Developer Summit in Europe Building Applications with ArcGIS Runtime SDK for Java Mark Baird Mike Branscomb Agenda Introduction SDK Building the Map Editing Querying Data Geoprocessing Asynchronous

More information

Building WPF Apps with the new ArcGIS Runtime SDK for.net. Antti Kajanus Mike Branscomb

Building WPF Apps with the new ArcGIS Runtime SDK for.net. Antti Kajanus Mike Branscomb Building WPF Apps with the new ArcGIS Runtime SDK for.net Antti Kajanus Mike Branscomb Agenda ArcGIS Runtime SDK for.net Windows Desktop API Build a map Edit Search Geocoding and Routing Perform analysis

More information

Lab 1: Getting Started With Android Programming

Lab 1: Getting Started With Android Programming Islamic University of Gaza Faculty of Engineering Computer Engineering Dept. Eng. Jehad Aldahdooh Mobile Computing Android Lab Lab 1: Getting Started With Android Programming To create a new Android Project

More information

Embedded Systems Programming - PA8001

Embedded Systems Programming - PA8001 Embedded Systems Programming - PA8001 http://goo.gl/ydeczu Lecture 8 Mohammad Mousavi m.r.mousavi@hh.se Center for Research on Embedded Systems School of Information Science, Computer and Electrical Engineering

More information

Developing Mobile Apps with the ArcGIS Runtime SDK for.net

Developing Mobile Apps with the ArcGIS Runtime SDK for.net Developing Mobile Apps with the ArcGIS Runtime SDK for.net Rich Zwaap Morten Nielsen Esri UC 2014 Technical Workshop Agenda The ArcGIS Runtime Getting started with.net Mapping Editing Going offline Geocoding

More information

Best Development Practices and Patterns Using ArcGIS Runtime SDK for Android. Xueming Wu Puneet Prakash

Best Development Practices and Patterns Using ArcGIS Runtime SDK for Android. Xueming Wu Puneet Prakash Best Development Practices and Patterns Using ArcGIS Runtime SDK for Android Xueming Wu Puneet Prakash Agenda Introduction Developer Popup Feature Highlight & Drawing Order Road Ahead for the Runtime SDKs

More information

register/unregister for Intent to be activated if device is within a specific distance of of given lat/long

register/unregister for Intent to be activated if device is within a specific distance of of given lat/long stolen from: http://developer.android.com/guide/topics/sensors/index.html Locations and Maps Build using android.location package and google maps libraries Main component to talk to is LocationManager

More information

ArcGIS Runtime: Working with Maps Online and Offline. Will Crick Justin Colville [Euan Cameron]

ArcGIS Runtime: Working with Maps Online and Offline. Will Crick Justin Colville [Euan Cameron] ArcGIS Runtime: Working with Maps Online and Offline Will Crick Justin Colville [Euan Cameron] ArcGIS Runtime session tracks at Dev Summit 2017 ArcGIS Runtime SDKs share a common core, architecture and

More information

Have a development environment in 256 or 255 Be familiar with the application lifecycle

Have a development environment in 256 or 255 Be familiar with the application lifecycle Upcoming Assignments Readings: Chapter 4 by today Horizontal Prototype due Friday, January 22 Quiz 2 today at 2:40pm Lab Quiz next Friday during lecture time (2:10-3pm) Have a development environment in

More information

Working with Feature Layers. Russell Brennan Gary MacDougall

Working with Feature Layers. Russell Brennan Gary MacDougall Working with Feature Layers Russell Brennan Gary MacDougall Working with Feature Layers Session will focus on feature access and editing Highlight new features added over the last few releases Agenda Introduction

More information

ArcGIS Runtime SDK for Android: Building Apps. Shelly Gill

ArcGIS Runtime SDK for Android: Building Apps. Shelly Gill ArcGIS Runtime SDK for Android: Building Apps Shelly Gill Agenda Getting started API - Android Runtime SDK patterns - Common functions, workflows The Android platform Other sessions covered Runtime SDK

More information

Getting Started with ArcGIS Runtime SDK for Qt. Thomas Dunn & Nandini Rao

Getting Started with ArcGIS Runtime SDK for Qt. Thomas Dunn & Nandini Rao Getting Started with ArcGIS Runtime SDK for Qt Thomas Dunn & Nandini Rao Agenda Getting Started Creating the Map Geocoding and Routing Geoprocessing Message Processing Work Offline The Next Release ArcGIS

More information

Getting Started with ArcGIS Runtime SDK for the Microsoft.NET Framework. Morten Nielsen Mike Branscomb Antti Kajanus Rex Hansen

Getting Started with ArcGIS Runtime SDK for the Microsoft.NET Framework. Morten Nielsen Mike Branscomb Antti Kajanus Rex Hansen Getting Started with ArcGIS Runtime SDK for the Microsoft.NET Framework Morten Nielsen Mike Branscomb Antti Kajanus Rex Hansen Agenda What is the ArcGIS Runtime? ArcGIS Runtime SDK for.net - Platform -

More information

Getting Started with ArcGIS Runtime SDK for ios and OS X. Divesh Goyal & Mary Harvey

Getting Started with ArcGIS Runtime SDK for ios and OS X. Divesh Goyal & Mary Harvey Getting Started with ArcGIS Runtime SDK for ios and OS X Divesh Goyal & Mary Harvey Topics Overview of Runtime Quick intro to SDK resources SDK functionality & patterns - Displaying maps - Performing analysis

More information

Developing ios & Mac apps with ArcGIS Runtime SDK. Suganya Baskaran, Divesh Goyal

Developing ios & Mac apps with ArcGIS Runtime SDK. Suganya Baskaran, Divesh Goyal Developing ios & Mac apps with ArcGIS Runtime SDK Suganya Baskaran, Divesh Goyal Topics Overview of Runtime Quick intro to SDK Common functionality & patterns - Displaying map content - Searching for content

More information

ArcGIS Runtime SDKs Building Offline Apps. Nick Furness

ArcGIS Runtime SDKs Building Offline Apps. Nick Furness ArcGIS Runtime SDKs Building Offline Apps Nick Furness Agenda The basics - Considerations - Building blocks - Service types New! Offline maps New! Preplanned workflow What we are covering and what not

More information

Understand applications and their components. activity service broadcast receiver content provider intent AndroidManifest.xml

Understand applications and their components. activity service broadcast receiver content provider intent AndroidManifest.xml Understand applications and their components activity service broadcast receiver content provider intent AndroidManifest.xml Android Application Written in Java (it s possible to write native code) Good

More information

Esri Developer Summit in Europe ArcGIS Runtime for ios

Esri Developer Summit in Europe ArcGIS Runtime for ios Esri Developer Summit in Europe ArcGIS Runtime for ios Al Pascual / Nick Furness ArcGIS Web & Mobile APIs Web APIs Flex JavaScript Silverlight REST Mobile APIs ArcGIS Server ArcGIS Runtime SDK for ios

More information

Developing Qt Apps with the Runtime SDK

Developing Qt Apps with the Runtime SDK Developing Qt Apps with the Runtime SDK Thomas Dunn and Michael Tims Esri UC 2014 Technical Workshop Agenda Getting Started Creating the Map Geocoding and Routing Geoprocessing Message Processing Work

More information

Solving an Android Threading Problem

Solving an Android Threading Problem Home Java News Brief Archive OCI Educational Services Solving an Android Threading Problem Introduction by Eric M. Burke, Principal Software Engineer Object Computing, Inc. (OCI) By now, you probably know

More information

ArcGIS Runtime SDK for ios and macos: Building Apps. Suganya Baskaran, Gagandeep Singh

ArcGIS Runtime SDK for ios and macos: Building Apps. Suganya Baskaran, Gagandeep Singh ArcGIS Runtime SDK for ios and macos: Building Apps Suganya Baskaran, Gagandeep Singh Get Started Core Components Agenda - Display Map Content - Search for Content - Perform Analysis - Edit Content Summary

More information

Writing Efficient Drive Apps for Android. Claudio Cherubino / Alain Vongsouvanh Google Drive Developer Relations

Writing Efficient Drive Apps for Android. Claudio Cherubino / Alain Vongsouvanh Google Drive Developer Relations Writing Efficient Drive Apps for Android Claudio Cherubino / Alain Vongsouvanh Google Drive Developer Relations Raise your hand if you use Google Drive source: "put your hands up!" (CC-BY) Raise the other

More information

Computer Science E-76 Building Mobile Applications

Computer Science E-76 Building Mobile Applications Computer Science E-76 Building Mobile Applications Lecture 3: [Android] The SDK, Activities, and Views February 13, 2012 Dan Armendariz danallan@mit.edu 1 http://developer.android.com Android SDK and NDK

More information

Theme 2 Program Design. MVC and MVP

Theme 2 Program Design. MVC and MVP Theme 2 Program Design MVC and MVP 1 References Next to the books used for this course, this part is based on the following references: Interactive Application Architecture Patterns, http:// aspiringcraftsman.com/2007/08/25/interactiveapplication-architecture/

More information

Getting Started with the ArcGIS Runtime SDKs. Dave, Will, Euan

Getting Started with the ArcGIS Runtime SDKs. Dave, Will, Euan Getting Started with the ArcGIS Runtime SDKs Dave, Will, Euan Agenda Why native app development? What can you do with the runtime SDKs Latest release Future Native Apps Are Everywhere Apple s App Store

More information

Introduction to Android

Introduction to Android Introduction to Android http://myphonedeals.co.uk/blog/33-the-smartphone-os-complete-comparison-chart www.techradar.com/news/phone-and-communications/mobile-phones/ios7-vs-android-jelly-bean-vs-windows-phone-8-vs-bb10-1159893

More information

1. Location Services. 1.1 GPS Location. 1. Create the Android application with the following attributes. Application Name: MyLocation

1. Location Services. 1.1 GPS Location. 1. Create the Android application with the following attributes. Application Name: MyLocation 1. Location Services 1.1 GPS Location 1. Create the Android application with the following attributes. Application Name: MyLocation Project Name: Package Name: MyLocation com.example.mylocation 2. Put

More information

Building Applications with the ArcGIS Runtime SDK for WPF

Building Applications with the ArcGIS Runtime SDK for WPF Esri International User Conference San Diego, California Technical Workshops 24 th July 2012 Building Applications with the ArcGIS Runtime SDK for WPF Euan Cameron & Paul Pilkington Agenda Introduction

More information

Developing mapping applications with ArcGIS Runtime SDK for ios. Divesh Goyal Eric Ito

Developing mapping applications with ArcGIS Runtime SDK for ios. Divesh Goyal Eric Ito Developing mapping applications with ArcGIS Runtime SDK for ios Divesh Goyal Eric Ito Agenda Directions & Navigation Finding places and addresses Accessing your map content What is a mapping app? Introduction

More information

CS378 -Mobile Computing. Anatomy of and Android App and the App Lifecycle

CS378 -Mobile Computing. Anatomy of and Android App and the App Lifecycle CS378 -Mobile Computing Anatomy of and Android App and the App Lifecycle Hello Android Tutorial http://developer.android.com/resources/tutorials/hello-world.html Important Files src/helloandroid.java Activity

More information

Android Programmierung leichtgemacht. Lars Vogel

Android Programmierung leichtgemacht. Lars Vogel Android Programmierung leichtgemacht Lars Vogel Twitter: @vogella Lars Vogel Arbeitet als unabhängiger Eclipse und Android Berater und Trainer Arbeit zusätzlichen für SAP AG als Product Owner in einem

More information

What s New for Developers in ArcGIS Maura Daffern October 16

What s New for Developers in ArcGIS Maura Daffern October 16 What s New for Developers in ArcGIS 10.1 Maura Daffern October 16 mdaffern@esri.ca Today s Agenda This seminar is designed to help you understand: 1) Using Python to increase productivity 2) Overview of

More information

Thread. A Thread is a concurrent unit of execution. The thread has its own call stack for methods being invoked, their arguments and local variables.

Thread. A Thread is a concurrent unit of execution. The thread has its own call stack for methods being invoked, their arguments and local variables. 1 Thread A Thread is a concurrent unit of execution. The thread has its own call stack for methods being invoked, their arguments and local variables. Each virtual machine instance has at least one main

More information

Upcoming Assignments Quiz Friday? Lab 5 due today Alpha Version due Friday, February 26

Upcoming Assignments Quiz Friday? Lab 5 due today Alpha Version due Friday, February 26 Upcoming Assignments Quiz Friday? Lab 5 due today Alpha Version due Friday, February 26 Inject one subtle defect (fault seeding) To be reviewed by a few class members Usability study by CPE 484 students

More information

Transitioning to the ArcGIS Runtime SDK for.net. Antti Kajanus & Mike Branscomb

Transitioning to the ArcGIS Runtime SDK for.net. Antti Kajanus & Mike Branscomb Transitioning to the ArcGIS Runtime SDK for.net Antti Kajanus & Mike Branscomb Transitioning from MapObjects ArcGIS API for Silverlight ArcGIS Engine Desktop / Mobile ArcGIS Runtime SDK for WPF Mobile

More information

CHAPTER 15 ASYNCHRONOUS TASKS

CHAPTER 15 ASYNCHRONOUS TASKS CHAPTER 15 ASYNCHRONOUS TASKS OBJECTIVES After completing Asynchronous Tasks, you will be able to: Describe the process and threading model of Android applications. Use Looper and Handler classes to post

More information

Getting Started with ArcGIS Runtime SDK for ios. Nick Furness / Al Pascual

Getting Started with ArcGIS Runtime SDK for ios. Nick Furness / Al Pascual Getting Started with ArcGIS Runtime SDK for ios Nick Furness / Al Pascual ArcGIS Runtime Family of SDKs for multiple platforms - Consistent capabilities Native to the platform - For building great apps

More information

Introduction to ArcGIS API for ios. Divesh Goyal Eric Ito

Introduction to ArcGIS API for ios. Divesh Goyal Eric Ito Introduction to ArcGIS API for ios Divesh Goyal Eric Ito Agenda Introduction Getting Started Objective-C basics Common design patterns Key Concepts Q&A Remember to turn in your surveys. ArcGIS - A Complete

More information

Voice Control SDK. Vuzix M100 Developer SDK. Developer Documentation. Ron DiNapoli Vuzix Corporation Created: July 22, 2015 Last Update: July 22, 2015

Voice Control SDK. Vuzix M100 Developer SDK. Developer Documentation. Ron DiNapoli Vuzix Corporation Created: July 22, 2015 Last Update: July 22, 2015 Voice Control SDK Vuzix M100 Developer SDK Ron DiNapoli Vuzix Corporation Created: July 22, 2015 Last Update: July 22, 2015 Developer Documentation Introduction The Vuzix Voice Control SDK allows you to

More information

Mobile and Ubiquitous Computing: Android Programming (part 4)

Mobile and Ubiquitous Computing: Android Programming (part 4) Mobile and Ubiquitous Computing: Android Programming (part 4) Master studies, Winter 2015/2016 Dr Veljko Pejović Veljko.Pejovic@fri.uni-lj.si Examples from: Mobile and Ubiquitous Computing Jo Vermeulen,

More information

Android development. Outline. Android Studio. Setting up Android Studio. 1. Set up Android Studio. Tiberiu Vilcu. 2.

Android development. Outline. Android Studio. Setting up Android Studio. 1. Set up Android Studio. Tiberiu Vilcu. 2. Outline 1. Set up Android Studio Android development Tiberiu Vilcu Prepared for EECS 411 Sugih Jamin 15 September 2017 2. Create sample app 3. Add UI to see how the design interface works 4. Add some code

More information

Mobila applikationer och trådlösa nät

Mobila applikationer och trådlösa nät Mobila applikationer och trådlösa nät HI1033 Lecture 8 Today s topics Location Based Services Google Maps API MultiMedia Location Based Services LocationManager provides access to location based services

More information

Mobile Apps 2010 iphone and Android

Mobile Apps 2010 iphone and Android Mobile Apps 2010 iphone and Android March 9, 2010 Norman McEntire, Founder Servin Corporation - http://servin.com Technology Training for Technology ProfessionalsTM norman.mcentire@servin.com 1 Legal Info

More information

CS378 - Mobile Computing. Anatomy of an Android App and the App Lifecycle

CS378 - Mobile Computing. Anatomy of an Android App and the App Lifecycle CS378 - Mobile Computing Anatomy of an Android App and the App Lifecycle Application Components five primary components different purposes and different lifecycles Activity single screen with a user interface,

More information

ArcGIS Runtime SDK for Java: Building Apps. Tyler Schiewe

ArcGIS Runtime SDK for Java: Building Apps. Tyler Schiewe ArcGIS Runtime SDK for Java: Building Apps Tyler Schiewe Agenda Getting Started API Basics Patterns & Workflows Licensing and Deployment Questions Getting Started What You Get Code API Reference (Javadoc)

More information

Android Programming Lecture 2 9/7/2011

Android Programming Lecture 2 9/7/2011 Android Programming Lecture 2 9/7/2011 Creating a first app 1. Create a new Android project (a collection of source code and resources for the app) from the Eclipse file menu 2. Choose a project name (can

More information

Overview of Activities

Overview of Activities d.schmidt@vanderbilt.edu www.dre.vanderbilt.edu/~schmidt Institute for Software Integrated Systems Vanderbilt University Nashville, Tennessee, USA CS 282 Principles of Operating Systems II Systems Programming

More information

Android Activities. Akhilesh Tyagi

Android Activities. Akhilesh Tyagi Android Activities Akhilesh Tyagi Apps, memory, and storage storage: Your device has apps and files installed andstoredonitsinternaldisk,sdcard,etc. Settings Storage memory: Some subset of apps might be

More information

Lifecycle Callbacks and Intents

Lifecycle Callbacks and Intents SE 435: Development in the Android Environment Recitations 2 3 Semester 1 5779 4 Dec - 11 Dec 2018 Lifecycle Callbacks and Intents In this recitation we ll prepare a mockup tool which demonstrates the

More information

8/30/15 MOBILE COMPUTING. CSE 40814/60814 Fall How many of you. have implemented a command-line user interface?

8/30/15 MOBILE COMPUTING. CSE 40814/60814 Fall How many of you. have implemented a command-line user interface? MOBILE COMPUTING CSE 40814/60814 Fall 2015 How many of you have implemented a command-line user interface? 1 How many of you have implemented a graphical user interface? HTML/CSS Java Swing.NET Framework

More information

Getting Started with the ArcGIS API for JavaScript. Julie Powell, Paul Hann

Getting Started with the ArcGIS API for JavaScript. Julie Powell, Paul Hann Getting Started with the ArcGIS API for JavaScript Julie Powell, Paul Hann Esri Developer Summit Berlin November 19 2012 Getting Started with the ArcGIS API for JavaScript ArcGIS for Server Is a Platform

More information

Activities. https://developer.android.com/guide/components/activities.html Repo: https://github.com/karlmorris/basicactivities

Activities. https://developer.android.com/guide/components/activities.html Repo: https://github.com/karlmorris/basicactivities Activities https://developer.android.com/guide/components/activities.html Repo: https://github.com/karlmorris/basicactivities Overview What is an Activity Starting and stopping activities The Back Stack

More information

ELET4133: Embedded Systems. Topic 15 Sensors

ELET4133: Embedded Systems. Topic 15 Sensors ELET4133: Embedded Systems Topic 15 Sensors Agenda What is a sensor? Different types of sensors Detecting sensors Example application of the accelerometer 2 What is a sensor? Piece of hardware that collects

More information

AP COMPUTER SCIENCE JAVA CONCEPTS IV: RESERVED WORDS

AP COMPUTER SCIENCE JAVA CONCEPTS IV: RESERVED WORDS AP COMPUTER SCIENCE JAVA CONCEPTS IV: RESERVED WORDS PAUL L. BAILEY Abstract. This documents amalgamates various descriptions found on the internet, mostly from Oracle or Wikipedia. Very little of this

More information

Getting Started with the ArcGIS Mobile APIs. Kris Bezdecny, David Martinez Andy Gup, David Cardella

Getting Started with the ArcGIS Mobile APIs. Kris Bezdecny, David Martinez Andy Gup, David Cardella Getting Started with the ArcGIS Mobile APIs Kris Bezdecny, David Martinez Andy Gup, David Cardella Agenda Overview ArcGIS for - ios - Windows Phone - Android Wrap up - Q and A What is mobile GIS? Extends

More information

Building MyFirstApp Android Application Step by Step. Sang Shin Learn with Passion!

Building MyFirstApp Android Application Step by Step. Sang Shin   Learn with Passion! Building MyFirstApp Android Application Step by Step. Sang Shin www.javapassion.com Learn with Passion! 1 Disclaimer Portions of this presentation are modifications based on work created and shared by

More information

OFFLINE MODE OF ANDROID

OFFLINE MODE OF ANDROID OFFLINE MODE OF ANDROID APPS @Ajit5ingh ABOUT ME new Presenter( Ajit Singh, github.com/ajitsing, www.singhajit.com, @Ajit5ingh ) AGENDA Why offline mode? What it takes to build an offline mode Architecture

More information

E-Blocks wifi controlled by an Android device

E-Blocks wifi controlled by an Android device E-Blocks wifi controlled by an Android device Benoit Pierret benoit.pierret@insa-lyon.fr Nicolas Stouls nicolas.stouls@insa-lyon.fr Yann Ricotti yann.ricotti@insa-lyon.fr Architecture This solution is

More information

LifeStreet Media Android Publisher SDK Integration Guide

LifeStreet Media Android Publisher SDK Integration Guide LifeStreet Media Android Publisher SDK Integration Guide Version 1.12.0 Copyright 2015 Lifestreet Corporation Contents Introduction... 3 Downloading the SDK... 3 Choose type of SDK... 3 Adding the LSM

More information

ArcGIS Runtime SDK for Android: Building Apps. Shelly Gill

ArcGIS Runtime SDK for Android: Building Apps. Shelly Gill ArcGIS Runtime SDK for Android: Building Apps Shelly Gill Agenda Getting started SDK Common patterns and Example Apps Android platform updates Kotlin Team goals for upcoming releases Other sessions ArcGIS

More information

ANDROID APPS DEVELOPMENT FOR MOBILE AND TABLET DEVICE (LEVEL I)

ANDROID APPS DEVELOPMENT FOR MOBILE AND TABLET DEVICE (LEVEL I) ANDROID APPS DEVELOPMENT FOR MOBILE AND TABLET DEVICE (LEVEL I) Lecture 3: Android Life Cycle and Permission Entire Lifetime An activity begins its lifecycle when entering the oncreate() state If not interrupted

More information

Migrating your WPF Apps to the New ArcGIS Runtime SDK for.net. Mike Branscomb Antti Kajanus

Migrating your WPF Apps to the New ArcGIS Runtime SDK for.net. Mike Branscomb Antti Kajanus Migrating your WPF Apps to the New ArcGIS Runtime SDK for.net Mike Branscomb Antti Kajanus Agenda Comparison of WPF SDK and.net SDK Windows Desktop API Do you need to migrate? Preparing to migrate Migrating

More information

Mensch-Maschine-Interaktion 2 Übung 12

Mensch-Maschine-Interaktion 2 Übung 12 Mensch-Maschine-Interaktion 2 Übung 12 Ludwig-Maximilians-Universität München Wintersemester 2010/2011 Michael Rohs 1 Preview Android Development Tips Location-Based Services and Maps Media Framework Android

More information

ArcGIS SDK for Windows Phone and ArcGIS for SharePoint. Jo Fraley Nikki Golding

ArcGIS SDK for Windows Phone and ArcGIS for SharePoint. Jo Fraley Nikki Golding ArcGIS SDK for Windows Phone and ArcGIS for SharePoint Jo Fraley Nikki Golding ArcGIS for SharePoint Agenda Welcome / Introductions ArcGIS for SharePoint Demo - Working with the product Road map ArcGIS

More information

Android About.me/DavidCorrado Mobile Meetup Organizer

Android About.me/DavidCorrado Mobile Meetup Organizer Android Tips/Tricks @DavidCorrado About.me/DavidCorrado Mobile Meetup Organizer IDE Don t Use Eclipse Use either Android Studio/IntelliJ They are basically the same thing. They are both built off of IntelliJ

More information

CS371m - Mobile Computing. Responsiveness

CS371m - Mobile Computing. Responsiveness CS371m - Mobile Computing Responsiveness An App Idea From Nifty Assignments Draw a picture use randomness Pick an equation at random Operators in the equation have the following property: Given an input

More information

Using Collector for ArcGIS and Operations Dashboard for ArcGIS. Mike Sweeney Esri-Charlotte

Using Collector for ArcGIS and Operations Dashboard for ArcGIS. Mike Sweeney Esri-Charlotte Using Collector for ArcGIS and Operations Dashboard for ArcGIS Mike Sweeney Esri-Charlotte Agenda The ArcGIS Platform Desktop Web Device Portal Cloud Server Online Content and Services On-Premises Available

More information

Mobile Image Processing

Mobile Image Processing Mobile Image Processing Part 1: Introduction to mobile image processing on Android" Part 2: Real-time augmentation of viewfinder frames" Part 3: Utilizing optimized functions in the OpenCV library" Digital

More information

Getting Started with ArcGIS for Server. Charmel Menzel and Ken Gorton

Getting Started with ArcGIS for Server. Charmel Menzel and Ken Gorton Getting Started with ArcGIS for Server Charmel Menzel and Ken Gorton Agenda What is ArcGIS for Server? Types of Web services Publishing resources onto the Web Clients to ArcGIS for Server Editions and

More information

ATC Android Application Development

ATC Android Application Development ATC Android Application Development 1. Android Framework and Android Studio b. Android Platform Architecture i. Linux Kernel ii. Hardware Abstraction Layer(HAL) iii. Android runtime iv. Native C/C++ Libraries

More information

Services. service: A background task used by an app.

Services. service: A background task used by an app. CS 193A Services This document is copyright (C) Marty Stepp and Stanford Computer Science. Licensed under Creative Commons Attribution 2.5 License. All rights reserved. Services service: A background task

More information

ANDROID APPS DEVELOPMENT FOR MOBILE AND TABLET DEVICE (LEVEL I)

ANDROID APPS DEVELOPMENT FOR MOBILE AND TABLET DEVICE (LEVEL I) ANDROID APPS DEVELOPMENT FOR MOBILE AND TABLET DEVICE (LEVEL I) Lecture 3: Android Life Cycle and Permission Android Lifecycle An activity begins its lifecycle when entering the oncreate() state If not

More information

Using ArcGIS for Server. Javier Abadía, Esri España Peter McDaid, Esri UK

Using ArcGIS for Server. Javier Abadía, Esri España Peter McDaid, Esri UK Using ArcGIS for Server Javier Abadía, Esri España Peter McDaid, Esri UK 1. Intro 2. ArcGIS for Server = Geospatial Apps Server 3. Map Services Publishing Flow Apps 4. Spatial Functionality Services Publishing

More information

Wireless Vehicle Bus Adapter (WVA) Android Library Tutorial

Wireless Vehicle Bus Adapter (WVA) Android Library Tutorial Wireless Vehicle Bus Adapter (WVA) Android Library Tutorial Revision history 90001431-13 Revision Date Description A October 2014 Original release. B October 2017 Rebranded the document. Edited the document.

More information

Vienos veiklos būsena. Theory

Vienos veiklos būsena. Theory Vienos veiklos būsena Theory While application is running, we create new Activities and close old ones, hide the application and open it again and so on, and Activity can process all these events. It is

More information

CS 370 Android Basics D R. M I C H A E L J. R E A L E F A L L

CS 370 Android Basics D R. M I C H A E L J. R E A L E F A L L CS 370 Android Basics D R. M I C H A E L J. R E A L E F A L L 2 0 1 5 Activity Basics Manifest File AndroidManifest.xml Central configuration of Android application Defines: Name of application Icon for

More information

The Road to Runtime. Mark Cederholm UniSource Energy Services Flagstaff, Arizona

The Road to Runtime. Mark Cederholm UniSource Energy Services Flagstaff, Arizona The Road to Runtime Mark Cederholm UniSource Energy Services Flagstaff, Arizona A Brief History of Field Apps at UniSource ArcExplorer Free Users can customize map symbology No GPS No Editing No custom

More information