|
POST
|
What I would do is sideload the San Fransisco.tpk onto the device and then in the onCreate method in your activity, add the layer of the Offline TPK and load it while zooming to the extent. This example should be sufficient for your needs: arcgis-runtime-samples-android/OfflineEditorActivity.java at master · Esri/arcgis-runtime-samples-android · GitHub
... View more
07-26-2016
05:55 AM
|
0
|
2
|
903
|
|
POST
|
I was running Java Runtime today and noticed that the local servers favicon looks like a snickers bar or milky way cut in half. Does anyone know what the favicon is supposed to be? Favicon in question:
... View more
07-26-2016
05:44 AM
|
1
|
2
|
2029
|
|
POST
|
I saw similar behaviors. I am unsure on whether it will be resolved in the quartz release as I am not part of that team and have yet to test the workflow in Beta.
... View more
07-26-2016
05:00 AM
|
0
|
0
|
1016
|
|
POST
|
If you are having issues at API version 23 it sounds like you are not giving permission to "dangerous" permissions. This link should explain dangerous permissions: System Permissions | Android Developers This link would show how to request the permissions at runtime for external storage which would circumvent a possible dangerous permissions error: android - Storage permission error in Marshmallow - Stack Overflow Does this help?
... View more
07-21-2016
12:20 PM
|
0
|
0
|
906
|
|
POST
|
The identify task is not supported by local server and would not work on the device. Instead, a more efficient way to query would be to run query features, and then in the query parameters, apply a spatial filter with setGeometry. From there, you can iterate over the feature results and check which result contains data (featureResult.getCount() > 0). Then you can aggregate the results and return them to the user in either a popup or recycler view so the user can select the specific one they would like to identify.
... View more
07-21-2016
05:39 AM
|
2
|
1
|
1740
|
|
POST
|
Hello Lageplan Göttingen, I believe that this identify task is more closely assimilated with the identify server task found here: Identify (Operation) What you might want to do instead is work on creating a query against your offline geodatabase and then creating a callout from that query that shows the relevant information. This can be done via a layer query: LayerQuery | ArcGIS Android 10.2.8 API https://developers.arcgis.com/android/api-reference/reference/com/esri/core/tasks/geodatabase/LayerQuery.html Callout | ArcGIS Android 10.2.8 API I hope this helps!
... View more
07-20-2016
07:05 AM
|
2
|
3
|
1740
|
|
POST
|
Take the *.geodatabase file off of your SD card and place it back on the computer from which you exported it. Then you can use the Copy Runtime Geodatabase to File Geodatabase to get this back into a format that you can work with in ArcMap. Here is the documentation for that tool: Copy Runtime Geodatabase To File Geodatabase—Help | ArcGIS for Desktop
... View more
07-19-2016
05:09 AM
|
1
|
0
|
991
|
|
POST
|
I am not really sure what you are asking. Are you running a spatial analysis tool and wanting the output from that or are you looking to get your data from ArcMap to Android?
... View more
07-18-2016
08:42 AM
|
1
|
2
|
991
|
|
POST
|
This post from stack overflow might be helpful as well since rather than just calculating the length, you can write to the output byte array at the same time: public byte[] readBytes(InputStream inputStream) throws IOException {
// this dynamically extends to take the bytes you read
ByteArrayOutputStream byteBuffer = new ByteArrayOutputStream();
// this is storage overwritten on each iteration with bytes
int bufferSize = 1024;
byte[] buffer = new byte[bufferSize];
// we need to know how may bytes were read to write them to the byteBuffer
int len = 0;
while ((len = inputStream.read(buffer)) != -1) {
byteBuffer.write(buffer, 0, len);
}
// and then we can return your byte array.
return byteBuffer.toByteArray();
} Android - getting from a Uri to an InputStream to a byte array? - Stack Overflow
... View more
07-15-2016
11:33 AM
|
0
|
0
|
783
|
|
POST
|
I am not entirely sure as I have not had an opportunity to test this myself, but I believe this will change in the Quartz release with PortalItem.getSize() PortalItem| arcgis-android Currently, the Quartz release is in Beta. You can get started with the Quartz Beta release here: ArcGIS Runtime SDK for Android | ArcGIS for Developers
... View more
07-15-2016
11:09 AM
|
0
|
0
|
783
|
|
POST
|
Looks awesome! Cannot wait to try it out! (Phone is installing the July update currently....) Posting the link to your app here: (I hope thats okay) Centerline Maps GPS - Android Apps on Google Play
... View more
07-12-2016
11:46 AM
|
2
|
0
|
1509
|
|
POST
|
Can you post your source code so we can take a look at this? I assume you are on version 10.2.8?
... View more
07-11-2016
07:54 AM
|
0
|
0
|
2379
|
|
POST
|
Hey Mike C, I was able to reproduce this on a Nexus 5x. I went ahead and logged the following defect: BUG-000097661 : Callouts are flickering in the Android SDK when they are moved to a new location.
... View more
07-11-2016
07:53 AM
|
0
|
0
|
2356
|
|
POST
|
Can you upload the shapefile here for further inspection? Is it all shapefiles or just this one?
... View more
07-08-2016
05:14 AM
|
0
|
1
|
1069
|
|
POST
|
Can you confirm that the TPK exists on the device? I would use the File.exists() method to confirm it is on the device at that location: File | Android Developers
... View more
07-07-2016
09:02 AM
|
0
|
2
|
906
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-15-2014 03:16 PM | |
| 1 | 01-06-2015 03:33 PM | |
| 1 | 12-02-2014 10:47 AM | |
| 1 | 07-15-2014 03:31 PM | |
| 1 | 09-23-2014 03:59 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:24 AM
|