Điểm qua Esri/arcgis-runtime-samples-android: 681 sao trên GitHub, viết chủ yếu bằng Java, thuộc nhóm Mobile. ArcGIS Runtime SDK for Android Samples
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
ArcGIS Runtime API for Android v100.15.1 samples. The main branch of this repository contains sample app modules for the latest available version of the ArcGIS Runtime API 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.
:exclamation: Try ArcGIS Maps SDK for Kotlin version 200
ArcGIS Runtime SDK for Android version 100.15 is a long-term support release focused exclusively on bug fixes and minor updates.
ArcGIS Maps SDK for Kotlin version 200 builds on the proven architecture of 100.15, and provides a new API designed exclusively for developing Android apps using Kotlin a modern, powerful, and intuitive programming language.
Prerequisites
The samples are building with compileSdkVersion 31
Android Studio
An ArcGIS Developers API key
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.
Once the project is cloned to disk you can import into Android Studio:
From the Welcome to Android Studio screen, click the Open button. (If you're already inside a project, click File > Open in the menu bar instead.)
Navigate to the arcgis-runtime-samples-android/java or arcgis-runtime-samples-android/kotlin folder and click OK.
Accessing Esri location services
Accessing Esri location services, including basemaps, routing, and geocoding, requires authentication using either an API Key or an ArcGIS identity:
API key: A permanent key that gives your application access to Esri location services. Visit your ArcGIS Developers Dashboard to create a new API key or access an existing API key.
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 gradle.properties file located in the /.gradle folder within your home directory (/Users/<user_name>/.gradle/gradle.properties). The API_KEY property should contain quotes around the key itself: API_KEY = "YOUR_API_KEY"
ArcGIS identity: An ArcGIS named user account that is a member of an organization in ArcGIS Online or ArcGIS Enterprise.
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 (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.
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:
Download and unzip the file to get the apk ArcGIS_Runtime_Sample_Viewer_Android_10010.apk.
Have 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.
Contributing
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
Licensing
Copyright 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.
Esri/arcgis-runtime-samples-android thuộc nhóm Mobile trên TopGit, cùng 9 topic GitHub. Trang Trending và Topics liệt kê các repo cùng số sao và cùng ngôn ngữ để so sánh.
Đọc thêm về Esri/arcgis-runtime-samples-android ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/Esri/arcgis-runtime-samples-android là nguồn chính thức.
Esri/arcgis-runtime-samples-android có phải mã nguồn mở không?
Có — Esri/arcgis-runtime-samples-android phát hành theo license Apache-2.0, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/Esri/arcgis-runtime-samples-android.
Esri/arcgis-runtime-samples-android là gì?
Esri/arcgis-runtime-samples-android (Esri/arcgis-runtime-samples-android) là dự án Java trên GitHub. Theo mô tả gốc: ArcGIS Runtime SDK for Android Samples
Esri/arcgis-runtime-samples-android so với các dự án Mobile khác thế nào?
Esri/arcgis-runtime-samples-android được TopGit xếp vào nhóm Mobile, với 681 sao GitHub và viết bằng Java. Xem trang chủ đề Mobile trên TopGit để so sánh với các dự án tương tự theo số sao và mức độ hoạt động.
Vì sao Esri/arcgis-runtime-samples-android được xếp vào nhóm Mobile?
TopGit xếp Esri/arcgis-runtime-samples-android vào nhóm Mobile dựa trên GitHub topics và mô tả của repo (gắn thẻ: "android", "android-sample", "android-studio"). Việc phân loại dựa trên metadata thật của repo, không phải đoán theo cảm tính biên tập.
Đọc đầy đủ README ở tab phía trên.
Vẫn đang phân vân về arcgis-runtime-samples-android?
Một cú bấm sẽ gửi câu hỏi kèm trang này cho AI — xem AI nói gì về arcgis-runtime-samples-android.