Skip to content
This repository was archived by the owner on Jan 26, 2023. It is now read-only.

Commit e8bd23e

Browse files
authored
ArcGIS runtime sample release v100.15.0 (#1012)
1 parent 4560f35 commit e8bd23e

File tree

329 files changed

+5523
-1828
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

329 files changed

+5523
-1828
lines changed

.github/workflows/main.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# The name of the job, which will be displayed for the status check in PR.
2+
name: README and metadata formatting
3+
4+
# Controls when the action will run.
5+
# Below triggers the workflow on pull requests to `main` or `v.next` branch.
6+
on:
7+
pull_request:
8+
branches:
9+
- main
10+
- v.next
11+
12+
# A workflow run is made up of one or more jobs that can run sequentially or
13+
# in parallel.
14+
jobs:
15+
# This workflow contains a single job called "changes"
16+
changes:
17+
name: Check README and metadata format for changed files
18+
19+
# Comment out the line below if the job is only running for certain labels.
20+
# i.e. only run the job on PRs with label "new-sample"
21+
22+
# if: contains(github.event.pull_request.labels.*.name, 'new-sample')
23+
24+
# The type of runner that the job will run on
25+
# supported VMs are here: https://docs.github.com/en/free-pro-team@latest/actions/reference/specifications-for-github-hosted-runners#supported-runners-and-hardware-resources
26+
runs-on: ubuntu-latest
27+
28+
# Steps represent a sequence of tasks that got executed as part of the job.
29+
steps:
30+
31+
# This step gets the paths to all changed files and returns an array
32+
# such as ['xxx/README.md', 'xxx/README.metadata.json', 'xxx/1.png']
33+
# https://github.com/trilom/file-changes-action
34+
- id: file_changes
35+
name: Detect changed file paths
36+
uses: trilom/file-changes-action@master
37+
38+
# Checks-out your repository under $GITHUB_WORKSPACE, so the workflow can
39+
# access the files.
40+
# https://github.com/actions/checkout
41+
- name: Checkout the repository
42+
uses: actions/checkout@v2
43+
44+
# Print out changed file paths for debugging purposes.
45+
- name: Print changed file paths
46+
run: |
47+
echo 'Below shows a list of changed file paths'
48+
echo '${{ steps.file_changes.outputs.files}}'
49+
# echo '${{ steps.file_changes.outputs.files_modified}}'
50+
# echo '${{ steps.file_changes.outputs.files_added}}'
51+
# echo '${{ steps.file_changes.outputs.files_removed}}'
52+
53+
- name: Run style checks
54+
uses: ./tools/CI/README_Metadata_StyleCheck
55+
with:
56+
FILE_PATHS: ${{ steps.file_changes.outputs.files }}
57+
58+
# Runs a single command using the runners shell
59+
# - name: Run a script with Python
60+
# run: python ./Scripts/README-formatter.py

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Overview
2-
ArcGIS Runtime API for Android v100.14.1 samples. The `main` branch of this repository contains sample app modules for the latest available version of the [ArcGIS Runtime API for Android](https://developers.arcgis.com/android/). Samples released under older versions can be found through the [git tags](https://github.com/Esri/arcgis-runtime-samples-android/tags). Please read our [wiki](https://github.com/Esri/arcgis-runtime-samples-android/wiki) for help with working with this repository.
2+
ArcGIS Runtime API for Android v100.15.0 samples. The `main` branch of this repository contains sample app modules for the latest available version of the [ArcGIS Runtime API for Android](https://developers.arcgis.com/android/). Samples released under older versions can be found through the [git tags](https://github.com/Esri/arcgis-runtime-samples-android/tags). Please read our [wiki](https://github.com/Esri/arcgis-runtime-samples-android/wiki) for help with working with this repository.
33

44
# Prerequisites
55
* The samples are building with `compileSdkVersion 31`

java/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# ArcGIS Android Java Samples
22

33
## Requirements
4-
- [Android Plugin for Gradle 7.0.2](https://developer.android.com/studio/releases/gradle-plugin#7-0-0)
4+
- [Android Plugin for Gradle 7.4.2](https://developer.android.com/studio/releases/gradle-plugin#7.4.2)
55

66
## Import Java Samples into Android Studio
77

java/build.gradle

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,6 @@ buildscript {
1212
}
1313
}
1414

15-
allprojects {
16-
17-
final def var = repositories {
18-
google()
19-
mavenCentral()
20-
maven { url 'https://esri.jfrog.io/artifactory/arcgis' }
21-
}
22-
var
23-
}
24-
2515
subprojects {
2616
afterEvaluate { project ->
2717
if (project.hasProperty("dependencies")) {

java/create-and-save-map/src/main/java/com/esri/arcgisruntime/sample/createandsavemap/MainActivity.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@ public class MainActivity extends AppCompatActivity {
6262

6363
private static final String TAG = MainActivity.class.getSimpleName();
6464

65-
private static final int MIN_SCALE = 60000000;
66-
6765
private MapView mMapView;
6866

6967
// objects that implement Loadable must be class fields to prevent being garbage collected before loading
@@ -118,9 +116,6 @@ protected void onCreate(Bundle savedInstanceState) {
118116
"https://sampleserver6.arcgisonline.com/arcgis/rest/services/WorldTimeZones/MapServer");
119117
ArcGISMapImageLayer mapImageLayer = new ArcGISMapImageLayer(
120118
"https://sampleserver6.arcgisonline.com/arcgis/rest/services/Census/MapServer");
121-
// setting the scales at which the map image layer layer can be viewed
122-
mapImageLayer.setMinScale(MIN_SCALE);
123-
mapImageLayer.setMaxScale(MIN_SCALE / 100);
124119

125120
// create base map array and set it to a list view adapter
126121
String[] basemapTiles = getResources().getStringArray(R.array.basemap_array);

java/feature-layer-feature-service/README.md

Lines changed: 0 additions & 31 deletions
This file was deleted.

java/feature-layer-feature-service/README.metadata.json

Lines changed: 0 additions & 30 deletions
This file was deleted.

java/feature-layer-feature-service/build.gradle

Lines changed: 0 additions & 24 deletions
This file was deleted.
Binary file not shown.

java/feature-layer-feature-service/proguard-rules.pro

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)