GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - lbhsot/arcgis-runtime-samples-android: ArcGIS Runtime SDK for Android Samples

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

1,404 Commits
1,404 Commits

Folders and files

NameName
Last commit message
Last commit date
add-graphics-renderer
add-graphics-renderer
 
 
add-graphics-symbols
add-graphics-symbols
 
 
arcgis-map-imagelayer-url
arcgis-map-imagelayer-url
 
 
arcgis-tiledlayer-url
arcgis-tiledlayer-url
 
 
arcgis-vectortiledlayer-url
arcgis-vectortiledlayer-url
 
 
authentication-profile
authentication-profile
 
 
change-basemaps
change-basemaps
 
 
change-feature-layer-renderer
change-feature-layer-renderer
 
 
change-sublayer-visibility
change-sublayer-visibility
 
 
change-viewpoint
change-viewpoint
 
 
create-geometries
create-geometries
 
 
create-save-map
create-save-map
 
 
display-device-location
display-device-location
 
 
display-drawing-status
display-drawing-status
 
 
display-layer-view-state
display-layer-view-state
 
 
display-map
display-map
 
 
edit-feature-attachments
edit-feature-attachments
 
 
feature-layer-definition-expression
feature-layer-definition-expression
 
 
feature-layer-feature-service
feature-layer-feature-service
 
 
feature-layer-geodatabase
feature-layer-geodatabase
 
 
feature-layer-query
feature-layer-query
 
 
feature-layer-selection
feature-layer-selection
 
 
feature-layer-show-attributes
feature-layer-show-attributes
 
 
feature-layer-update-attributes
feature-layer-update-attributes
 
 
feature-layer-update-geometry
feature-layer-update-geometry
 
 
find-route
find-route
 
 
gradle/wrapper
gradle/wrapper
 
 
identify-graphics-hittest
identify-graphics-hittest
 
 
manage-bookmarks
manage-bookmarks
 
 
manage-operational-layers
manage-operational-layers
 
 
map-loaded
map-loaded
 
 
map-rotation
map-rotation
 
 
map-sketching
map-sketching
 
 
offline-geocode
offline-geocode
 
 
open-existing-map
open-existing-map
 
 
open-mobile-mappackage
open-mobile-mappackage
 
 
picture-marker-symbols
picture-marker-symbols
 
 
service-feature-table-cache
service-feature-table-cache
 
 
service-feature-table-manualcache
service-feature-table-manualcache
 
 
service-feature-table-nocache
service-feature-table-nocache
 
 
set-initial-map-area
set-initial-map-area
 
 
set-initial-map-location
set-initial-map-location
 
 
set-map-spatial-reference
set-map-spatial-reference
 
 
show-callout
show-callout
 
 
show-magnifier
show-magnifier
 
 
simple-marker-symbol
simple-marker-symbol
 
 
simple-renderer
simple-renderer
 
 
spatial-operations
spatial-operations
 
 
take-screenshot
take-screenshot
 
 
unique-value-renderer
unique-value-renderer
 
 
.gitignore
.gitignore
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
build.gradle
build.gradle
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
settings.gradle
settings.gradle
 
 

Repository files navigation

Overview

ArcGIS Runtime SDK for Android v100.0.0 samples. The master branch of this repository contains sample app modules for the latest available version of the ArcGIS Runtime SDK for Android. Samples released under older versions can be found through the repository releases.

Prerequisites

  • The samples are building with compileSdkVersion 25 which requires JDK 7 or higher
  • Android Studio

Developer Instructions

The ArcGIS Android SDK Samples are Gradle based Android projects which can be directly cloned and imported into Android Studio.

The latest ArcGIS Android SDK compile dependency is defined for all sample modules in the root project build.gradle. This is the only place where you need to define the dependency to the ArcGIS Android SDK.

subprojects{
    afterEvaluate {project ->
        if(project.hasProperty("dependencies")){
            dependencies {
                compile 'com.esri.arcgisruntime:arcgis-android:100.0.0'
            }
        }
    }
}

Our SDK is hosted in our public maven repository hosted by Bintray. Our repository url is added to the projects root build.gradle file.

repositories {
    jcenter()
    maven {
        url 'https://esri.bintray.com/arcgis'
    }
}

Download

Fork the repo

If you haven't already, fork the this repo.

Clone the repo

Android Studio

Clone the ArcGIS Android SDK Samples in Android Studio:

  1. Choose VCS > Checkout from Version Control > GitHub on the main menu.
  2. From the Repository drop-down list, select the source repository to clone the data from.
  3. In the Folder text box, specify the directory where the local repository for cloned sources will be set up.
  4. Click the Clone button to start cloning the sources from the specified remote repository.

NOTE: Do not import the project into Android Studio. There is an outstanding issue in Android Studio that requires importing the project in the steps defined below.

Command line Git

Clone the ArcGIS Android SDK Samples

Open your terminal, navigate to your working directory, use git clone to get a copy of the repo.

# Clones your fork of the repository into the current directory in terminal
$ git clone https://github.com/YOUR-USERNAME/arcgis-runtime-samples-android.git

Configure remote upstream for your fork

To sync changes you make in a fork with this repository, you must configure a remote that points to the upstream repository in Git.

  • Open a terminal or command prompt
  • List the current configured remote repository for your fork
$ git remote -v
origin	https://github.com/YOUR_USERNAME/arcgis-runtime-samples-android.git (fetch)
origin	https://github.com/YOUR_USERNAME/arcgis-runtime-samples-android.git (push)
  • Specify a new remote upstream repository
$ git remote add upstream https://github.com/Esri/arcgis-runtime-samples-android.git
  • Verify the new upstream repository
$ git remote -v

origin	https://github.com/YOUR_USERNAME/arcgis-runtime-samples-android.git (fetch)
origin	https://github.com/YOUR_USERNAME/arcgis-runtime-samples-android.git (push)
upstream https://github.com/Esri/arcgis-runtime-samples-android.git (fetch)
upstream https://github.com/Esri/arcgis-runtime-samples-android.git (push)

Sync your fork

Once you have set up a remote upstream you can keep your fork up to date with our samples repository by syncing your fork.

  • Open a terminal or command prompt
  • Change to the current working directory of your local repository
  • Fetch the branches and commits from the upstream repository. Commits to master will be stored in a local branch, upstream/master.
$ git fetch upstream
  • Check out your forks local master branch
$ git checkout master
  • Merge changes from upstream/master into your local master branch which syncs your forks master branch with our samples repository.
$ git merge upstream/master

Import Gradle Sample project into Android Studio

Once the project is cloned to disk you can import into Android Studio:

  • From the toolbar select File > Import Project, or Import Non-Android Studio project from the Welcome Quick Start.
  • Navigate to the root project folder, arcgis-runtime-samples-android directory and click OK

Run a sample

You should now be able to run any of the included samples. We will use the set-map-initial-location sample as an example.

  • Select set-map-initial-location from the Select Run/Debug Configuration drop down
  • Click the Run button

Issues

Find a bug or want to request a new feature enhancement? Please let us know by submitting an issue.

Contributing

Anyone and everyone is welcome to contribute. We do accept pull requests.

  1. Get Involved
  2. Report Issues
  3. Contribute Code
  4. Improve Documentation

Please see our guidelines for contributing doc

Licensing

Copyright 2016 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 Tags: ArcGIS Android Mobile) [](Esri Language: Java)​

About

ArcGIS Runtime SDK for Android Samples

Resources

Readme
Apache-2.0 license

Contributing

Contributing
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.