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
Scene
withView AR
to enable augmented reality (AR).Core - 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
-
If you haven't already, install and set up ArcGIS Runtime SDK for Android.
-
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 blocks Copy allprojects { repositories { ... maven { url 'https://esri.jfrog.io/artifactory/arcgis' } ... } }
-
Add the toolkit dependency to the module's gradle file.
Use dark colors for code blocks Copy dependencies { implementation 'com.esri.arcgisruntime:arcgis-android-toolkit:100.15.0' }
Build from source
Use the following code if you want to customize the toolkit.
$ ./gradlew clean assembleDebug --info
See the setup instructions for a more detailed guide.
Requirements
The following table shows version compatibility.
SDK Version | Toolkit Version |
---|---|
100.6.0 | 100.6.0 |
100.6.0 | 100.6.1 |
100.7.0 | 100.7.0 |
100.8.0 | 100.8.0 |
100.9.0 | 100.9.0 |
100.10.0 | 100.10.0 |
100.11.0 | 100.11.0 |
100.12.0 | 100.12.0 |
100.13.0 | 100.13.0 |
100.14.0 | 100.14.0 |
100.15.0 | 100.15.0 |
Issues
Find a bug or want to request a new feature enhancement? Please let us know by submitting an issue.