Tag Archives: Java
The Android emulator is a key tool for Android developers and with Android 4.0.3 r2 it started support for OpenGL ES 2.0. This allowed applications built with ArcGIS Android to run inside the emulator.
Virtual Machine Acceleration
We are excited to provide x86 native libs with our 10.2 release to support running an emulator inside an accelerated virtual machine. The Android emulator allows for taking advantage of a CPU extension for running virtual machines (VM’s). In order to take advantage of this feature you must make use of x86 system image target emulator and some additional configuration to your development system platform. To use virtual machine acceleration with the emulator you need the Android SDK tools, Revision 17 or higher and the Android x86 based AVD configuration.
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:
- 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
A new programming pattern we introduced at 10.2 to simplify creating MapViews pre-defined with basemaps, zoom levels, and center at by latitude and longitude values. When working with ArcGISTiledMapServiceLayer in previous releases you would have to call specific methods to set the extent or zoom level and add the layer to the map. The 10.2. API simplifies this workflow tremendously. Continue reading
Esri is pleased to announce the 10.2 release of the ArcGIS Runtime SDK for Java! You can get it now at http://developers.arcgis.com/en/java. Just sign up for a free developer subscription, hit the download button and the SDK is yours! Continue reading
The long awaited release is finally here! The ArcGIS Runtime SDK for Android team is proud to announce the release of the ArcGIS Runtime SDK for Android v10.2. You can download the release here.
ArcGIS Runtime SDK for Android is the spatial mapping system that powers native Android applications. It is our goal with this release to provide powerful features to broaden and increase Android mapping applications built with ArcGIS.
New in the API
Some of the new features in ArcGIS Runtime SDK for Android 10.2 include:
API Simplification: We introduced a MapOptions class to instantiate a MapView with a pre-defined basemap, zoom level, and map center.
GeometryEngine: Added support for geodesic length, offset, ellipse, and sector operations.
Support for geometries with Z and M values.
New modes for Graphics and Feature layers: Added support for dynamic and static mode on GraphicsLayer and FeatureLayer for different drawing performance options.
New Feature Interface: Graphic now implements this interface as well as the new Beta GdbFeature class.
New Beta functionality
This release introduces new Beta functionality related to working offline. This includes the ability to do the following:
TileCacheTask: Clip, export and take tiled map services offline.
GeodatabaseTask: Provided ability to take operational data in hosted feature services offline.
Offline Routing and Geocoding: These tasks work with local locators and networks provisioned on your device. This requires ArcGIS 10.2.1 locators and networks.
We have made a lot of improvements to the ArcGIS Runtime SDK for Android. In past releases the SDK came exclusively as an Eclipse plugin. New at 10.2 the SDK will provide a local files system on disk to allow for easier integration with IDE’s outside of the Eclipse environment as well as local copies of SDK docs, samples, and tools.
New Sample Wizard
We redesigned the New ArcGIS Samples for Android workflow and wizard. The new samples wizard works with samples in our ArcGIS for Android SDK Samples group on ArcGIS Online (hint: be sure to check the Show ArcGIS Desktop Content under All Results. This allows us the ability to update and add samples in between release which you can pick up in the Eclipse IDE.
We added support for x86 binaries which allows you to take advantage of Virtual Machine Acceleration. We have noticed a significant performance increase in our testing and hope you will enjoy the performance improvements in your testing as well.
SDK Eclipse plugin
The SDK Eclipse plugin is integrated into the downloaded SDK and also provided as a public url updatesite for direct integration within Eclipse. If you are familiar with installing Eclipse plugins you can use the update site URL as a new Remote Site in Eclipse Software Update dialog.
Visit the ArcGIS Runtime SDK for Android developers site for more information about ArcGIS Android SDK 10.2. Download the SDK to get started developing or testing with the new version.
The new ArcGIS Runtime SDKs for 10.2 are almost here! And they’re full of new capabilities to help you stay productive when building and deploying your apps. Plus, with this release, the much-anticipated offline API will be available in beta! … Continue reading
At the developer summit this past spring we debuted a functional mobile mapping app built entirely on the ArcGIS Runtime SDK for Android v10.1.1. Today we are proud to announce the app has been released to the open source community … Continue reading
The ArcGIS Android SDK team is happy to announce the release of an Update to the ArcGIS Runtime SDK for Android v 10.1.1. You can download the update here. This update fixes some critical SDK issues listed below:
- Popups support for Android Support Library r13
- Access to ArcGIS Online OAuth 2 based resources
- Javadoc hover in Eclipse
- Public package com.esri.core.io.* in SDK Javadoc
We encourage all developers to update to this version of the SDK and provide your feedback.
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.
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