Tag: ArcGiS Android

ArcGIS Runtime SDK for Android v10.2.9 released

We are excited to announce an update release to the ArcGIS Runtime SDK for Android v10.2.9.  This patch release updates the SDK API to support bidirectional sync with ArcGIS Server.  You can view the release notes here.

To apply this fix, update your build.gradle file with the following dependency:

dependencies {
    compile 'com.esri.arcgis.android:arcgis-android:10.2.9'
}

You can download the latest version of the SDK from our developers site. A new 10.2.9 version of the samples has been created to use the v10.2.9.  We invite you to collaborate with the community and the Esri development team on GeoNet & our GitHub samples.

Posted in App Developers, Developer, Mobile | Tagged , , , , | Leave a comment

Authentication with ArcGIS Android 100.0.0 Part 2

In part 1 of this post we discussed HTTP based authentication using he new DefaultAuthenticationChallengeHandler class against an ArcGIS Portal.  In this part we are going to focus on the basics of OAuth authentication.  Using OAuth 2.0 for ArcGIS Android apps opens the system browser OAuth login page supplied with a Redirect URI to receive the authorization code.  If  you are new to OAuth, we recommend you read through our ArcGIS Security and Authentication documentation. Continue reading

Posted in Developer, Mobile | Tagged , , , | Leave a comment

Authentication with ArcGIS Android 100.0.0 Part 1

There are some new developer patterns with the recent release of ArcGIS Runtime SDK for Android v100.0.0 including authentication against all security types that the ArcGIS platform supports. In this post I will discuss using the new DefaultAuthenticationChallengeHandler class to authenticate against ArcGIS Portal. Continue reading

Posted in Developer, Mobile | Tagged , , | Leave a comment

ArcGIS Runtime SDK for Android v10.2.8 released

We are excited to announce a new release to the ArcGIS Runtime SDK for Android v10.2.8.  This patch release updates the SDK OpenSSL to version 1.0.2g to address security vulnerabilities.  See this Google FAQ for more information.

To apply this fix, update your build.gradle file with the following dependency:

dependencies {
    compile 'com.esri.arcgis.android:arcgis-android:10.2.8'
}

You can download the latest version of the SDK from our developers site. All of our samples have been updated to use the latest version and developer instructions on how to sync your local fork of the samples with our GitHub repository.  We invite you to collaborate with the community and the Esri development team on GeoNet & our GitHub samples.

Posted in App Developers, Developer, Mobile | Tagged , , , , , | 2 Comments

ArcGIS Runtime SDK for Android v10.2.7 released

We are excited to announce a new release to the ArcGIS Runtime SDK for Android v10.2.7.  This is a bug fix release which includes the following issues addressed in our release notes.

To apply this fix, update your build.gradle file with the following dependency:

dependencies {
    compile 'com.esri.arcgis.android:arcgis-android:10.2.7'
}

You can download the latest version of the SDK from our developers site. All of our samples have been updated to use the latest version and developer instructions on how to sync your local fork of the samples with our GitHub repository.  We invite you to collaborate with the community and the Esri development team on GeoNet & our GitHub samples.

Posted in App Developers, Developer, Mobile | Tagged , , , , , , | Leave a comment

Migrating to Android Studio

Android Studio is the official IDE for Android and is the default IDE for ArcGIS Runtime SDK for Android.  This post will guide you through migrating your ArcGIS Android projects from Eclipse to Android Studio.

Import Eclipse project to Android Studio

Importing your Eclipse projects directly into Android Studio is the preferred approach as it will detect many source libs and replace them with maven dependencies, e.g. Android Support Library, which means you no longer have to maintain the libraries manually.  Additionally, it will rewrite the project using the new canonical Android Gradle project structure. Continue reading

Posted in App Developers, Apps, Developer, Mobile | Tagged , , , , , | 2 Comments

10.2.3 release of ArcGIS Runtime SDK for Android

Today we are happy to announce the release of the ArcGIS Runtime SDK for Android v10.2.3.  Download the SDK from the Android developer site.

This update release focused on improvements to performance, offline API, and SDK as well as introduced a new GeodatabaseFeatureServiceTable class to work with ArcGIS Feature Services.  Continue reading

Posted in App Developers, Developer, Mobile | Tagged , , , , | Leave a comment

10.2.2 release of ArcGIS Runtime SDK for Android

Today, we are happy to announce the release of the ArcGIS Runtime SDK for Android v10.2.2 release. Download the SDK from our updated developer site.

The major changes this release focused on providing the capability to work offline and to speed up your productivity as described below:

Offline functionality

Offline functionality was introduced in beta at the last release (version 10.2) and is now available in final form. This means that now you can build and deploy offline- and sync-enabled apps for production use. You can now use the following offline capabilities in your production apps: Continue reading

Posted in App Developers, Developer, Mobile | Tagged , , , , | 3 Comments

Android Eclipse Updatesite URL has changed

ArcGIS Android Runtime SDK offers a custom plugin for the Eclipse IDE which is integrated with the download SDK and provided as a public URL updatesite for direct integration within your Eclipse IDE environment.  We recently rolled out an updated URL for our public Eclipse updatesite offered below:

https://developers.arcgis.com/android/eclipse/updatesite

Continue reading

Posted in App Developers, Developer, Mobile | Tagged , , , , | Leave a comment

Simplified API Part 2: ArcGIS Android Application Framework

In part 1 of our Simplified API programming pattern for ArcGIS Android we discussed how the MapOptions class can define a basemap, zoom level, and center of a MapView to simplify the programmatic workflow in setting up your map.  In this post we will discuss using the ArcGIS Android Application Framework to further simplify programmatic workflows related to adding geometries with callouts and reverse geocoding.

Working with the ArcGIS Android Application Framework

The application framework for ArcGIS Android provides simplification classes to assist in supporting some Mapping and Locator workflows.  The easiest way to integrate the framework is with the Eclipse plugin:

  1. Right click your ArcGIS for Android project and choose ArcGIS Tools > Add Application Framework to Project. This option is only available on ArcGIS for Android projects.

This will add the arcgis-android-app-framework.jar file to your project and you can begin taking advantage of the helper classes it provides.  If you are not using Eclipse you can get the arcgis-android-app-framework.jar file from your SDK on disk in the <arcgis-install-dir>/libs/ directory which you can add to your project. Continue reading

Posted in App Developers, Developer, Mobile | Tagged , , , , , | 1 Comment