在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):Esri/arcgis-runtime-samples-android开源软件地址(OpenSource Url):https://github.com/Esri/arcgis-runtime-samples-android开源编程语言(OpenSource Language):Java 59.5%开源软件介绍(OpenSource Introduction):OverviewArcGIS Runtime API for Android v100.14.1 samples. The Prerequisites
Developer InstructionsPlease 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 the project is cloned to disk you can import into Android Studio:
Accessing Esri location servicesAccessing Esri location services, including basemaps, routing, and geocoding, requires authentication using either an API Key or an ArcGIS identity:
The Android samples in this repository have been structured to use an API key, set once, which will run in all samples. Set your API key in the
Run a sampleOnce 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 GradleYou 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.
Device
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 viewerThe 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:
IssuesHave a question about functionality in the ArcGIS Runtime API for Android? Want to ask other users for development advice, discuss a workflow, ask Esri staff and other users about bugs in the API? Use GeoNet for any general 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. ContributingAnyone and everyone is welcome to contribute. We do accept pull requests.
Please see our guidelines for contributing doc LicensingCopyright 2021 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. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论