Tag: ArcGiS Android

Using Kotlin Android Extensions with ArcGIS Android

Google just recently announced official support for Kotlin in Android so we can now take advantage of techniques to enhance the development experience with ArcGIS Android.  One way we can do this is through the use of Kotlin Android Extensions.

Accessing View Resources

In Android Java, once you provide resources in your app, e.g. a MapView, you can apply it by referencing its resource ID which are defined in your projects R class that is automatically generated.  You can access resources in code by passing a resource ID as a method parameter.  For example, you can access a MapView using findViewById:

MapView mapView = (MapView) findViewById(R.id.mapView);

Continue reading

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

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