|
POST
|
I developed an app that is being used for offline data collection, and occasionally it freezes during panning or zooming. Do you have any code you can share from your app? Can you isolate the issue or reproduce it with any of our samples? Does this happen on any specific device(s)? Did anyone of you guys resolved this problem? Even I have the same problem. Is this the issue you are referring to?
... View more
02-03-2014
10:49 AM
|
0
|
0
|
1483
|
|
POST
|
The Eclipse updatesite URL has changed to https://developers.arcgis.com/android/eclipse/updatesite. Please update your Eclipse Available Software Site list to accommodate for this change. Further instructions can be found here.
... View more
01-24-2014
09:58 AM
|
0
|
0
|
719
|
|
POST
|
The link @shepa006 provided gives some details about working with IntelliJ based IDE's. As far as support, we will have to wait until Android Studio gets out of Early Access Preview and released as a General Available software product before we can provide support.
... View more
01-24-2014
09:53 AM
|
0
|
0
|
479
|
|
POST
|
The latest version of the Android SDK only shows samples for the Android platform API's you have installed as has been mentioned in this thread. The reason for this is to avoid the errors associated with adding a sample based on a platform API that the developer does not have installed. While the latest versions of all the samples are found online through the Eclipse New Sample wizard, all samples available at release time are also included on disk when you download the sdk zip file located here. Open up the downloaded zip file and navigate to the samples directory. You will find the Nearby sample under the 'Display-Information' folder. Of course you will still need the appropriate Android platform API installed to use it as is or refactor the sample to a Platform API you have installed.
... View more
01-09-2014
01:36 PM
|
0
|
0
|
782
|
|
POST
|
You should not need to manage the movement of the callout once it is set the coordinates with the show() method. Try removing the Callout.setCoordinates() and Callout.refresh() methods. Refer to the SymbolizingResults sample to see how the Callout holds on the initial position.
... View more
12-20-2013
02:10 PM
|
0
|
0
|
1439
|
|
POST
|
We are working currently working on a sample for Android and will make it available on ArcGIS Online when it is complete. Below is some working code for creating the tiles locally by calling submitTileCacheJobAndDownload.
/**
* Creates tile Cache locally by calling submitTileCacheJobAndDownload
*
* @param params
* @param tileCacheTask
* @param tileCachePath
*/
private void createTileCache(GenerateTileCacheParameters params,
final TileCacheTask tileCacheTask, final String tileCachePath) {
// Set the recovery directory for incomplete tasks
tileCacheTask.setRecoveryDir(recoveryDir);
// estimate tile cache size
tileCacheTask.estimateTileCacheSize(params,
new CallbackListener<Long>() {
@Override
public void onError(Throwable e) {
Log.d("*** tilecachesize error: ", "" + e);
}
@Override
public void onCallback(Long objs) {
Log.d("*** tilecachesize: ", "" + objs);
}
});
// Submit tile cache job and download
tileCacheTask.submitTileCacheJobAndDownload(params, null,
new CallbackListener<String>() {
private boolean errored = false;
@Override
public void onError(Throwable e) {
errored = true;
// print out the error message and disable the progress bar
Log.d("*** submitTileCacheJobAndDownload error: ", "" + e);
mProgress.setVisibility(View.GONE);
}
@Override
public void onCallback(String path) {
if (!errored) {
Log.d("the Download Path = ", "" + path);
// Disable the progress bar and switch to the
// successfully downloaded local layer
mProgress.setVisibility(View.GONE);
switchToLocalLayer(path);
}
}
}, tileCachePath);
// recover all incomplete jobs contained in the recovery directory
tileCacheTask.recoverAllJobs(new CallbackListener<TileCacheStatus>() {
@Override
public void onError(Throwable e) {
Log.d("*** recoverAllJobs error: ", "" + e);
mProgress.setVisibility(View.GONE);
}
@Override
public void onCallback(TileCacheStatus objs) {
Log.d("***", " start recovery" + objs);
}
}, new CallbackListener<String>() {
@Override
public void onError(Throwable e) {
mProgress.setVisibility(View.GONE);
}
@Override
public void onCallback(String objs) {
Log.d("***", " end recovery" + objs);
mProgress.setVisibility(View.GONE);
}
});
}
... View more
11-14-2013
07:16 PM
|
0
|
0
|
1331
|
|
POST
|
The MapViewHelper class requires the application framework jar added to your project. Once added you can start using the API. You can create an instance of a MapViewHelper class by passing a MapView to it's constructor MapViewHelper mvHelper = new MapViewHelper(map); To view the javadoc for the API inside of Eclipse, hover over the MapViewHelper class you just created and press F2 for focus. While in focus select the Open Attached Javadoc in Browser. The API Javadoc will open in the Eclipse browser perspective. Li's code above shows how to interact with a Callout from the MapViewHelper class. We are working on a sample and accompanying article about the new simplified programmer workflows using the Application Framework for Android. In the mean time, let us know if you need anything more specific for your use case.
... View more
11-06-2013
02:47 PM
|
0
|
0
|
547
|
|
POST
|
Keep in mind, you can have multiple versions of Eclipse on your system. That way you can have a version with 10.1.1-u1 and a version with 10.2 and avoid extracting 10.1.1-u1 plugin.
... View more
11-05-2013
08:10 AM
|
0
|
0
|
675
|
|
POST
|
what can I do. You can start by offering the code that worked at 10.1.1 and now doesn't work at 10.2.
... View more
11-05-2013
08:09 AM
|
0
|
0
|
671
|
|
POST
|
Runtime Locators are created through the Desktop pattern I offered in a previous post with respect to creating Runtime Geodatabases. This will be available in ArcGIS Desktop 10.2.1 when it is released (scheduled) later this month. Any data is supported so you should be able to create a Runtime Locator based on European data. UTF characters will be interpreted correctly through the Android API.
... View more
11-05-2013
08:03 AM
|
0
|
0
|
788
|
|
POST
|
Hello, I have found the sample "Offline Routing (BETA)" under my Developers account. I downloaded and built it. But I cannot find the referenced data for the sample under this link http://www.arcgis.com/home/item.html?id=0dc5c1279ce5496db93bcfbdc8eee819 The link you referenced did not get updated. I will update it and have the fix in the next publication for the website. In the mean time, here is the sample in ArcGIS Online which has the correct link to the data found here.
... View more
11-04-2013
08:36 AM
|
0
|
0
|
788
|
|
POST
|
When is ArcGIS Desktop 10.2.1 going to be released It is scheduled for mid - late Nov. 2013.
... View more
11-04-2013
08:32 AM
|
0
|
0
|
788
|
|
POST
|
The simplist approach would be to uninstall Android SDK v10.2 and reinstall Android SDK v10.1.1. This will automatically set the classpath container (jars) back to v10.1.1 on all your projects. Then right click your project and run, ArcGIS Tools > Fix Project Properties. This will revert the native libraries back to v10.1.1 as well for each project you run it against. But, if you want to keep Android v10.2 Eclipse plugin installed but only want this project at v10.1.1 you will need to remove your classpath container and add the 10.1.1 jars as a individual libraries or as a Classpath Variable. Remove 10.2 Classpath Container Right click project and select Properties Choose Java Build Path from left and Libraries tab in the Java Build Path dialog Select the ArcGIS for Android 10.2 classpath container and click Remove Remove 10.2 Native Libraries Select all the folders under your projects Libs folder and delete Extract ArcGIS Runtime SDK for Android libraries Get the 10.1.1 download Extract the contents of the ArcGIS SDK for Android download into the new directory using a Zip utility. Open a terminal or command prompt and change directory (cd) into the plugins directory where you extracted the SDK. E.g. /home/user/arcgis-android-v10.1.1/plugins. The API libraries are bundled in a jar file inside the plugins directory. You can use a Zip utility or the Java JDK Jar tool to extract the libraries from com.esri.arcgis.android.core_10.1.1.201306271100.jar file. I offer a jar command which extracts the contents of the lib and libs folders. These folders hold the jar files and native libraries for developing with the API. jar xvf com.esri.arcgis.android.core_10.1.1.201306271100.jar lib libs Two new directories are added to your plugins folder which hold the required jars and native libraries to work with ArcGIS Android v10.1.1 API. Add the 10.1.1 native libraries back to your project These native libraries are located in the libs folder you extracted from the ArcGIS Runtime SDK for Android download. The libs folder matches the libs folder created in all Android projects. Copy the contents of the extracted libs folder to your Eclipse Android project libs folder. Add the 10.1.1 jars back to your project Right click your project and select Properties Select Java Build Path from the left and Libraries tab from the right Click Add External Jars and navigate to the lib folder you extracted Select all the jar files and click Open Click the Order and Export tab Check all the jars you just added to Order and Export tab There are many ways you can add the jars in, just be sure they are added to your build path.
... View more
11-01-2013
04:38 PM
|
0
|
0
|
675
|
|
POST
|
There are two patterns to creating runtime geodatabases, 1. Services & 2. Desktop. The desktop pattern will be a feature of the 10.2.1 release of the ArcGIS platform. The services pattern is available on hosted feature services with enable sync feature. The Android SDK Developer Guide has a Create an Offline map document which steps you through the services pattern under Include operational data > Generate a geodatabase from a feature service. Let me know if you have any issues following that pattern to generate your runtime geodatabase files on device from hosted features services.
... View more
11-01-2013
10:38 AM
|
0
|
0
|
1368
|
|
POST
|
Support for x86 emulators is included in the ArcGIS Runtime SDK for Android v10.2.
... View more
10-29-2013
05:47 PM
|
0
|
0
|
844
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-28-2014 11:13 AM | |
| 1 | 04-29-2015 06:36 PM | |
| 1 | 09-15-2014 12:01 PM | |
| 1 | 06-02-2017 04:43 PM | |
| 1 | 01-21-2015 07:00 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|