Toolkit

The ArcGIS Runtime SDK for Android offers a toolkit, ArcGIS Runtime Toolkit for Android, that contains the views (components) to help simplify your Android development work. Available components include:

  • ArcGISArView - Integrates SceneView with ARCore to enable augmented reality (AR).
  • Bookmarks - Displays the bookmarks present in a map.
  • Compass - Shows the current orientation of a map or scene by displaying a compass icon that points towards North.
  • Floor filter - Shows sites and facilities, and enables toggling the visibility of levels on floor-aware maps and scenes.
  • Scalebar - Displays the representation of an accurate linear measurement on a map.
  • PopupView - Displays a Popup's attribute list.

The fastest way to get the toolkit into your app is to reference the compiled library (.aar file) from Jfrog, as described below. For instructions on using the toolkit from source code—for example, if you want to customize it—see Toolkit setup instructions in the toolkit's repo.

Reference the library from Jfrog

  1. If you haven't already, install and set up ArcGIS Runtime SDK for Android.

  2. Ensure the Esri public Jfrog Maven repository is in your project's gradle file, https://esri.jfrog.io/artifactory/arcgis

    Use dark colors for code blocksCopy
           
    1
    2
    3
    4
    5
    6
    7
    allprojects {
        repositories {
            ...
            maven { url 'https://esri.jfrog.io/artifactory/arcgis' }
            ...
        }
    }
    
  3. Add the toolkit dependency to the module's gradle file.

    Use dark colors for code blocksCopy
       
    1
    2
    3
    dependencies {
        implementation 'com.esri.arcgisruntime:arcgis-android-toolkit:100.14.0'
    }
    

Build from source

Use the following code if you want to customize the toolkit.

Use dark colors for code blocksCopy
 
1
$ ./gradlew clean assembleDebug --info

See the setup instructions for a more detailed guide.

Requirements

The following table shows version compatibility.

SDK VersionToolkit Version
100.6.0100.6.0
100.6.0100.6.1
100.7.0100.7.0
100.8.0100.8.0
100.9.0100.9.0
100.10.0100.10.0
100.11.0100.11.0
100.12.0100.12.0
100.13.0100.13.0
100.14.0100.14.0

Issues

Find a bug or want to request a new feature enhancement? Please let us know by submitting an issue.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.