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

Commit

Permalink
ArcGIS runtime sample release v100.15.0 (#1012)
Browse files Browse the repository at this point in the history
  • Loading branch information
shubham7109 committed Aug 17, 2022
1 parent 4560f35 commit e8bd23e
Show file tree
Hide file tree
Showing 329 changed files with 5,523 additions and 1,828 deletions.
60 changes: 60 additions & 0 deletions .github/workflows/main.yml
@@ -0,0 +1,60 @@
# The name of the job, which will be displayed for the status check in PR.
name: README and metadata formatting

# Controls when the action will run.
# Below triggers the workflow on pull requests to `main` or `v.next` branch.
on:
pull_request:
branches:
- main
- v.next

# A workflow run is made up of one or more jobs that can run sequentially or
# in parallel.
jobs:
# This workflow contains a single job called "changes"
changes:
name: Check README and metadata format for changed files

# Comment out the line below if the job is only running for certain labels.
# i.e. only run the job on PRs with label "new-sample"

# if: contains(github.event.pull_request.labels.*.name, 'new-sample')

# The type of runner that the job will run on
# 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
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that got executed as part of the job.
steps:

# This step gets the paths to all changed files and returns an array
# such as ['xxx/README.md', 'xxx/README.metadata.json', 'xxx/1.png']
# https://github.com/trilom/file-changes-action
- id: file_changes
name: Detect changed file paths
uses: trilom/file-changes-action@master

# Checks-out your repository under $GITHUB_WORKSPACE, so the workflow can
# access the files.
# https://github.com/actions/checkout
- name: Checkout the repository
uses: actions/checkout@v2

# Print out changed file paths for debugging purposes.
- name: Print changed file paths
run: |
echo 'Below shows a list of changed file paths'
echo '${{ steps.file_changes.outputs.files}}'
# echo '${{ steps.file_changes.outputs.files_modified}}'
# echo '${{ steps.file_changes.outputs.files_added}}'
# echo '${{ steps.file_changes.outputs.files_removed}}'

- name: Run style checks
uses: ./tools/CI/README_Metadata_StyleCheck
with:
FILE_PATHS: ${{ steps.file_changes.outputs.files }}

# Runs a single command using the runners shell
# - name: Run a script with Python
# run: python ./Scripts/README-formatter.py
2 changes: 1 addition & 1 deletion README.md
@@ -1,5 +1,5 @@
# Overview
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.
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.

# Prerequisites
* The samples are building with `compileSdkVersion 31`
Expand Down
2 changes: 1 addition & 1 deletion java/README.md
@@ -1,7 +1,7 @@
# ArcGIS Android Java Samples

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

## Import Java Samples into Android Studio

Expand Down
10 changes: 0 additions & 10 deletions java/build.gradle
Expand Up @@ -12,16 +12,6 @@ buildscript {
}
}

allprojects {

final def var = repositories {
google()
mavenCentral()
maven { url 'https://esri.jfrog.io/artifactory/arcgis' }
}
var
}

subprojects {
afterEvaluate { project ->
if (project.hasProperty("dependencies")) {
Expand Down
Expand Up @@ -62,8 +62,6 @@ public class MainActivity extends AppCompatActivity {

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

private static final int MIN_SCALE = 60000000;

private MapView mMapView;

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

// create base map array and set it to a list view adapter
String[] basemapTiles = getResources().getStringArray(R.array.basemap_array);
Expand Down
31 changes: 0 additions & 31 deletions java/feature-layer-feature-service/README.md

This file was deleted.

30 changes: 0 additions & 30 deletions java/feature-layer-feature-service/README.metadata.json

This file was deleted.

24 changes: 0 additions & 24 deletions java/feature-layer-feature-service/build.gradle

This file was deleted.

Binary file not shown.
17 changes: 0 additions & 17 deletions java/feature-layer-feature-service/proguard-rules.pro

This file was deleted.

28 changes: 0 additions & 28 deletions java/feature-layer-feature-service/src/main/AndroidManifest.xml

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit e8bd23e

Please sign in to comment.