ArcGIS Runtime SDK for Android v100.2.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.
- The samples are building with
compileSdkVersion 26
which requires JDK 7 or higher - Android Studio
The SDK is available through the Bintray Maven repo, you can take a look at the repository with the link below:
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.
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.
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 (gradlew.sh) and it is accessible from the root of the project.
- Build a debug APK
$ ./gradlew assembleDebug
- Run the app
Device
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.
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.
- Get Involved
- Report Issues
- Contribute Code
- Improve Documentation
Please see our guidelines for contributing doc
Copyright 2017 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
http://www.apache.org/licenses/LICENSE-2.0
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.
[](Esri Tags: ArcGIS Android Mobile) [](Esri Language: Java)