Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kotlin Compose Sample Viewer #243

Draft
wants to merge 14 commits into
base: v.next
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
37 changes: 29 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@
# ArcGIS Maps SDK Kotlin Samples
# ArcGIS Maps SDK Kotlin Samples

[![Link: ArcGIS Developers home](https://img.shields.io/badge/ArcGIS%20Developers%20Home-633b9b?style=flat-square)](https://developers.arcgis.com)
[![Link: Documentation](https://img.shields.io/badge/Documentation-633b9b?style=flat-square)](https://developers.arcgis.com/kotlin/)
[![Link: Tutorials](https://img.shields.io/badge/Tutorials-633b9b?style=flat-square)](https://developers.arcgis.com/documentation/mapping-apis-and-services/tutorials/)
[![Badge: Samples](https://img.shields.io/badge/Samples-633b9b?style=flat-square)](https://developers.arcgis.com/kotlin/sample-code/)
[![Link: Toolkit](https://img.shields.io/badge/Toolkit-633b9b?style=flat-square)](https://developers.arcgis.com/kotlin/toolkit/)
[![Link: Esri Community](https://img.shields.io/badge/🙋-Get%20help%20in%20Esri%20Community-633b9b?style=flat-square)](https://community.esri.com/t5/kotlin-maps-sdk-questions/bd-p/kotlin-maps-sdk-questions)

<a href='https://play.google.com/store/apps/details?id=com.esri.arcgismaps.kotlin.sampleviewer'> <img src='https://github.com/user-attachments/assets/924c2721-9a8a-4387-8fa2-c1b6f99f6bac' alt='Get it on Google Play' width="150" /></a>

## Overview

ArcGIS Maps SDK for Kotlin v200.5.0 samples. The `main` branch of this repository contains sample app modules for the latest available version of the [ArcGIS Maps SDK Android Kotlin](https://developers.arcgis.com/kotlin/). Samples released under older versions can be found through the [git tags](https://github.com/Esri/arcgis-maps-sdk-kotlin-samples/tags). Please read our [wiki](https://github.com/Esri/arcgis-maps-sdk-kotlin-samples/wiki) for help with working with this repository.
ArcGIS Maps SDK for Kotlin v200.6.0 samples. The `main` branch of this repository contains sample app modules for the latest available version of the [ArcGIS Maps Kotlin SDK](https://developers.arcgis.com/kotlin/). Samples released under older versions can be found through the [git tags](https://github.com/Esri/arcgis-maps-sdk-kotlin-samples/tags). Please read our [wiki](https://github.com/Esri/arcgis-maps-sdk-kotlin-samples/wiki) for help with working with this repository.

## Prerequisites

* The samples are building with `compileSdkVersion 33`
* The samples are building with `compileSdkVersion 35`
* [Android Studio](http://developer.android.com/sdk/index.html)
* [An ArcGIS Developers API key](https://developers.arcgis.com/kotlin/get-started/#3-get-an-api-key)

Expand All @@ -31,11 +40,11 @@ A long-lived access token that gives your application access to ArcGIS location
* **Location services** > **Geocoding**
* **Location services** > **Routing**

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.
The API_KEY property should contain quotes around the key itself:
The Kotlin samples in this repository have been structured to use an access token, set once, which will run in all samples.
Set your access token in the `local.properties` in the same folder as the `secrets.defauls.properties`.
The ACCESS_TOKEN property should contain quotes around the key itself:
```gradle
API_KEY = "YOUR_API_KEY" // path: /Users/<user_name>/.gradle/gradle.properties
ACCESS_TOKEN="YOUR_ACCESS_TOKEN" // local.properties
```

### ArcGIS identity
Expand All @@ -62,7 +71,7 @@ $ ./gradlew assembleDebug
adb -d install path/to/sample.apk
```

Built APK's are saved to **arcgis-maps-sdk-kotlin-samples/[module-name]/build/outputs/apk/**. More information about running apps on devices can be found [here](https://developer.android.com/studio/run/device.html).
Built APK's are saved to **arcgis-maps-sdk-kotlin-samples/app/build/outputs/**. More information about running apps on devices can be found [here](https://developer.android.com/studio/run/device.html).

## Issues

Expand All @@ -83,6 +92,18 @@ Anyone and everyone is welcome to [contribute](.github/CONTRIBUTING.md). We do a

Please see our [guidelines for contributing doc](https://github.com/Esri/contributing/blob/master/README.md)

## Third-Party Libraries

This project uses the following third-party libraries:

- **[Showdown](https://github.com/showdownjs/showdown/blob/master/LICENSE)**
- License: MIT License
- Copyright: 2018, 2021

- **[Highlight.js](https://github.com/highlightjs/highlight.js/blob/main/LICENSE)**
- License: BSD 3-Clause License
- Copyright: 2006, Ivan Sagalaev

## Licensing

Copyright 2022 Esri
Expand Down
54 changes: 0 additions & 54 deletions add-3d-tiles-layer/build.gradle.kts

This file was deleted.

21 changes: 0 additions & 21 deletions add-3d-tiles-layer/proguard-rules.pro

This file was deleted.

24 changes: 0 additions & 24 deletions add-3d-tiles-layer/src/main/AndroidManifest.xml

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading