POST
|
What version of the Android SDK tools are you using? Android SDK tools v17 introduced support for OpenGL ES 2.0 by. The ArcGIS Android SDK uses OpenGL 2.0 so you must be using Android SDK tools v17 or above. This blog post should help you get started. Be aware that Android SDK tools v21 includes a revamped AVD creation dialog that does not match the dialog in the blog post. We are working on updating the workflow with the new AVD creation dialog.
... View more
12-18-2012
09:42 AM
|
0
|
0
|
389
|
POST
|
Either set the MapView to null or call the MapView.recycle() method.
... View more
11-26-2012
08:34 AM
|
0
|
0
|
279
|
POST
|
Take a look at the CreateLocalJsonFeatures sample from ArcGIS Online. It is more focused on the json to features workflow. Look at the LocalMapActivity.createWindTurbinesFeatureSet() method.
// path is location of json file
public FeatureSet createWindTurbinesFeatureSet(String path) {
FeatureSet fs = null;
try {
JsonFactory factory = new JsonFactory();
JsonParser parser = factory.createJsonParser(new FileInputStream(path));
parser.nextToken();
fs = FeatureSet.fromJson(parser);
} catch (Exception e) {
e.printStackTrace();
}
return fs;
}
... View more
11-26-2012
08:16 AM
|
0
|
1
|
990
|
POST
|
Yes, the emulator is supported with the current v2.0 API. The documentation will be updated to reflect the fact that you can either setup an emulator or use a physical device. Thanks for pointing out the error in the documentation.
... View more
11-19-2012
03:43 PM
|
0
|
0
|
519
|
POST
|
I did some more testing/investigating and realized that we did not include the fix in v2. The issue is that the BingMapsLayer is retrieving the Bing Logo on the main thread. Android apps targeting SDK 12 (Honeycomb) or higher does not allow network usage on the main UI thread and retrieving the Bing Maps Logo makes a network call. The fix will be in the next release of the SDK. In the mean time, if you are targeting platform API version 12 or higher you can explicitly turn off StictMode. This is not an issue if your minSDK is set to something lower than 12, e.g. 8 and your platform level is the same.
... View more
11-07-2012
07:07 PM
|
0
|
0
|
762
|
POST
|
You do not need to expand the downloaded archive, although you can and it still should work if you point to the correct local directory. In the Eclipse Available Software Sites dialog select the Add button and then choose the Archive button to point to the download zip archive location on disk. The location should be in the form of something similar to this on Windows -> jar:file:/C:/[path/to/download]/ArcGISAndroidSDK_v2.zip!/ where [path/to/download] is the location on disk where you downloaded the SDK zip file.
... View more
11-05-2012
11:59 AM
|
0
|
0
|
580
|
POST
|
Was the project built from v2.0 project templates? With v2.0 installed, right click your ArcGIS for Android Project and select ArcGIS Tools > Fix Project Properties to ensure that you are using both the latest jars and native libs. Please share some screenshots of your Java Build Path and the logcat if you continue to have issues using v2.0 of the SDK.
... View more
11-05-2012
11:50 AM
|
0
|
0
|
762
|
POST
|
What version of the SDK are you using? This issue was resolved in our latest release of the SDK, v2.0.
... View more
11-02-2012
03:13 PM
|
0
|
0
|
762
|
POST
|
Take out the initExtent parameter from your layout xml file. You are using you own map service which is in a different spatial reference than the service provided in the HelloWorld sample. If you still want to set the initial extent in your layout xml file, then adjust the coordinates to the spatial reference of your map service.
... View more
10-29-2012
07:30 PM
|
0
|
0
|
518
|
POST
|
I can add the service for the MapServer to ArcGIS Desktop and to ArcGIS Online with the URL "http://anc-arcsrv-01.ua.ad.alaska.edu/arcgis/services/myPath_v8/MapServer" and every thing works fine. However I'm uncertain how to test the URL for MobileServer service at "http://anc-arcsrv-01.ua.ad.alaska.edu/arcgis/services/myPath_v8/MapServer/MobileServer" Why are you appending /MobileServer to the end of the URL? You should use the URL that is working wtih ArcGIS Desktop and ArcGIS Online as the ArcGISDynamicMapServerLayer constructor takes a URL to a valid Map Service Layer. BTW: The URL returns a runtime error for me as well.
... View more
10-29-2012
07:26 PM
|
0
|
0
|
782
|
POST
|
The ArcGIS Android API does not currently support reading or displaying file geodatabases. The API does support Compact Cache format and Tile Package (*.tpk) formats. The ArcGISLocalTiledLayer class displays map content stored locally on your device when you do not have any network connectivity. Additionally the API supports converting to/from JSON as a FeatureSet which can be stored locally on your device. Please refer to the CreateLocalJsonFeatures sample for an example of working with offline JSON objects.
... View more
10-12-2012
12:33 PM
|
0
|
0
|
462
|
POST
|
Bit confused on not directly editing... What I mean is that the API does not support direct connections to an ArcSDE geodatabase. But I am editing through the Feature Service that is published with Server right? I dont have to export my data to a FIle GEodatabase then make edits and copy into SDE? Just confused on number 6....converting back....where and how is this done? Yes, the API supports connected editing your geodatabase as a feature service published with ArcGIS Server. You don't need to do step 6. I was thinking about a disconnected editing workflow with respect to that step. I apologize for the confusion.
... View more
10-12-2012
12:04 PM
|
0
|
0
|
220
|
POST
|
The Android API does not currently support editing of SDE databases directly. I will try and address your questions by describing a workflow for working with SDE data in a connected mode: Ensure all the data in a single SDE geodatabase with write permissions. Publish your map document as a map service in ArcGIS Server and enable the Feature Access capability on it. This will generate a URL to access your feature service from within the Android API. Create an ArcGISFeatureLayer in Android which points to your Feature Service URL. Edit your data using the Android API. Convert your edited Feature Class back to Geodatabase in SDE. You use ArcGIS Server Manager to configure your secured services which will allow you access control.
... View more
10-09-2012
10:56 AM
|
0
|
0
|
220
|
POST
|
The sample referenced by Andrew is a good example of how the Android API leverages local Map Tile Packages. Another example can be found at here. You can generate tiles from a map document in a single compressed .tpk file, here is a link to the ArcGIS 10.1 Help system for creating the Map Tile Packages.
... View more
10-09-2012
10:30 AM
|
0
|
0
|
350
|
POST
|
The Android API honors the JSON response from the service as an ArrayList. What is the return from a REST call on the service? Try something like this on your service to confirm the return your service provides.
... View more
10-08-2012
07:13 PM
|
0
|
0
|
366
|
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
|