Tag Archives: Java

Android Support Library revision 13

With the 10.1.1 release of the ArcGIS Android SDK we updated our Popup API to take advantage of the latest Android API’s while continuing to support older versions.  The Android team recently released revision 13 of the support library which is causing issues with our Popup API causing us to not be able to provide support for it in v10.1.1 of our SDK.  While we are working on supporting revision 13 you can continue to work with our Popup API using revision 12 of the support library, the only catch is that you have had to of previously used revision 12 in your Popup API project or sample using the steps provided in our Popups developer guide document.  If you have added the support library to a project it will be in the libs folder of your project.  If you are sure it is a previous revision, e.g. revision 12, you can copy and paste the library in your new projects instead of using ADT tools to add the library for you.

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

Vehicle Commander Template updated and available for download

New Vehicle Commander Overview

The Vehicle Commander Template has been updated to version 10.1.1 and is now available for download from Arcgis.com. The Vehicle Commander application template is a model for developing an in-vehicle situational awareness application using ArcGIS Runtime 10.1.1 for Java. The … Continue reading

Posted in Defense | Tagged , , , , , , , , , , , , , , , , | 1 Comment

Projecting on the fly with the ArcGIS Runtime Java API

projected

Here is another quick installment of how to code something with the ArcGIS Runtime SDK for Java that you may have had to do previously in ArcObjects. It is so quick that it may not even warrant the overhead of reading a … Continue reading

Posted in Developer | Tagged , , | Leave a comment

Android v10.1.1 support for Online Samples

The ArcGIS Runtime SDK for Android provides a variety of samples to assist in understanding the fundamentals of our ArcGIS Android API’s and coding patterns.  We package samples inside the SDK Eclipse plugin and allow you to import the sample code as an Eclipse project.  Continue reading

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

ArcGIS Runtime SDK for Java: About Using Definition Expressions

The use of a Definition Expression is an extremely powerful technique for displaying a subset of features in a layer that is satisfied by a standard SQL statement. For example, I have a “countries” layer used in my map, but at certain times in my application’s life-cycle I may only want to display Germany on the map. I could apply a temporary definition expression to the layer by giving a query such as “Country_name = ‘GERMANY’”. At this stage, only the polygon feature for Germany will be available for display and querying in that map layer.

ArcGIS applications built with the Runtime SDK for Java (or WPF, by the way) can have this same capability.
Continue reading

Posted in Developer | Tagged , | 1 Comment

Developing with the Android ADT Bundle

Google’s Android team recently released the ADT Bundle which provides everything you need to develop with the Android SDK including a version of the Eclipse IDE with a built in ADT (Android Developer Tools) plugin.  This greatly simplifies setting up an Android developer environment.

Eclipse 3.8 and 4.2 were released concurrently as part of the Juno release.  The Android team uses the 3.8 platform which is just the core and not a full packaged release. Features and plugins can be added from within the IDE.  The Android team bundles the ADT in this fashion.  You can install and develop with the ArcGIS Runtime SDK for Android v10.1.1 and the ADT bundle in the same way you would install and develop with a supported Eclipse platform.  When installing features and plugins into the IDE Eclipse will contact all update sites during install to find any required software needed for the plugins.  Since 3.8 is part of the Juno release it checks Juno repository during this process and will update the platform to 4.2.  This results in ADT bundle branding and appearance to be overridden by Eclipse Juno.  In order to keep the ADT branding you must make sure that the installer dialog checkbox for ‘Contact all update sites during install to find required software’, is not selected as shown below:

Eclipse P2 Installer

You can track this issue with Android.

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

Using NetBeans with the ArcGIS Runtime Java API

NetBeans is another great development environment that allows programmers to quickly and easily build great desktop, mobile and web applications with Java. NetBeans also supports mobile and Web development with Java, C++, and many different scripting languages.  The NetBeans IDE is free, open source, and has a worldwide community of users and developers.

Because the ArcGIS Runtime SDK for Java provides a pure Java API and development experience, it plugs in nicely with IDEs such as NetBeans, even though the ArcGIS Runtime SDK does not ship with NetBeans modules. Continue reading

Posted in Developer | Tagged , , | 1 Comment

Version 10.1.1 of the ArcGIS Runtime SDK for Android is now available!

We are pleased to announce the release of the ArcGIS Runtime SDK for Android v10.1.1.  This release adds support for Network Analysis, secure communication using PKI client certificates, creating samples from ArcGIS Online, new layer types supporting KML, WMS, & Open Street Map, and much more.  You can download the SDK here.

Those of you closely following the SDK releases will notice that the version number of this release (10.1.1) is significantly different from the version numbers we’ve been using  in the past. This was done to synchronize the version numbers between various Runtime SDKs (Android, Java SE, WPF, Windows Phone) and the overall ArcGIS system.  This synchronization not only reflects a common path of evolution going forward for each of the SDKs, but also a commonality in terms of their functionality and architecture.

We invite you to browse our updated ArcGIS Resources site.  We have added lots of new developer guide documentation, updated our javadoc, and introduced online samples to compliment the samples that come with the SDK.   We look forward to sharing all the new features with you as well as your feedback through our forum.

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

ArcObjects or the ArcGIS Runtime SDKs for Java and WPF—which is right for you?

There has been lots of  excitement about building custom applications for the desktop with the new Runtime SDKs for Java and WPF, there are also important questions from our developers, like “Should I migrate from ArcGIS Engine?” and “If I migrate, what pieces of my code will I need to rewrite?”

Continue reading

Posted in Developer | Tagged , , , , , | 3 Comments

Integrating RoboGuice with ArcGIS Runtime SDK for Android

RoboGuice is a framework which brings dependency injection to Android using Google’s Guice library.  Dependency injection provides a simple convenience to programming.  Here is an example of such convenience: Continue reading

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