Skip to content
ArcGIS Runtime SDK for Android Samples
Java Kotlin
Branch: master
Clone or download

Latest commit

hud10837 and TADraeseke Hud10837/display device location kotlin (#751)
* initial file transfer

* fix compiler errors

* working sample

* cleanup

* move permissions check etc to separate function

* add readme, screenshot, metadata and do checklist

* add bg to spinner

* move spinner above attribution bar

* rename params for attributionviewlayoutchangelistener

* close mapview tag

Co-Authored-By: TADraeseke <>

* pr fixes

* fix permissions request functionality

* change v to view

Co-Authored-By: TADraeseke <>

* fix mode typo

Co-Authored-By: TADraeseke <>

* address pr fixes

* fix readme numbering

Co-Authored-By: TADraeseke <>

* remove metadata whitespace

* address pr comments

* put periods back in

Co-authored-by: TADraeseke <>
Latest commit 4d5b88a Mar 25, 2020


Type Name Latest commit message Commit time
Failed to load latest commit information.
.github add code of conduct Sep 14, 2017
java update to use 116th congress data for java Mar 19, 2020
kotlin Hud10837/display device location kotlin (#751) Mar 25, 2020
.gitignore Hud10837/buffer kotlin (#693) Feb 13, 2020
LICENSE updated identifying information Aug 4, 2014 update version to 100.7 Dec 19, 2019
version.gradle Merge pull request #745 from Esri/sor10874/1782-finish-androidx-migra… Mar 11, 2020


ArcGIS Runtime SDK for Android v100.7.0 samples. The master branch of this repository contains sample app modules for the latest available version of the ArcGIS Runtime SDK for Android. Samples released under older versions can be found through the git tags. Please read our wiki for help with working with this repository.


SDK Maven repo

The SDK is available through the Bintray Maven repo, you can take a look at the repository with the link below:


Developer Instructions

Please read our developer instructions wiki page to set up your developer environment with Android Studio. Instructions include forking and cloning the repository for those new to Git.

Run a sample

Once you have set up your developer environment you can run any sample from within Android Studio by selecting the app module from the Edit Configurations drop down and clicking the Run button from the toolbar.

Build/Run sample from Gradle

You can execute all the build tasks using the Gradle Wrapper command line tool. It's available as a batch file for Windows (gradlew.bat) and a shell script for Linux/Mac ( and it is accessible from the root of the project.

  • Build a debug APK
$ ./gradlew assembleDebug
  • Run the app


adb -d install path/to/sample.apk

Built APK's are saved to arcgis-runtime-samples-android/[module-name]/build/outputs/apk/. More information about running apps on devices can be found here.

Run samples through the sample viewer

The samples in this repository can also be viewed in a single sample viewer app. It can be found on the Play Store or on ArcGIS Online. If downloading from ArcGIS Online, follow these instructions to run the app locally on your device:

  1. Download and unzip the file to get the apk ArcGIS_Runtime_Sample_Viewer_Android_1007.apk.
  2. Install the APK with adb:
adb -d install path/to/ArcGIS_Runtime_Sample_Viewer_Android_1007.apk


Have a question about functionality in the ArcGIS Runtime SDK for Android? Want to ask other users for development advice, discuss a workflow, ask Esri staff and other users about bugs in the SDK? Use GeoNet for any general ArcGIS Runtime Android SDK questions like this, so others can learn from and contribute to the discussion.

Do you have something to contribute? Send a pull request! New Samples, bug fixes and documentation fixes are welcome.

Have a problem running one of the samples in this repo? Does the sample not work on a specific device? Have questions about how the code in this repo is working? Want to request a specific sample? In that case, submit a new issue.


Anyone and everyone is welcome to contribute. We do accept pull requests.

  1. Get Involved
  2. Report Issues
  3. Contribute Code
  4. Improve Documentation

Please see our guidelines for contributing doc


Copyright 2018 Esri

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

A copy of the license is available in the repository's license.txt file.

You can’t perform that action at this time.