Use for questions related the ArcGIS Runtime SDK for Android.

learn more… | top users | synonyms

3
votes
1answer
19 views

Cannot create route from one point to another ArcGIS Android

i've been trying very hard to create a route between two points(startPoint, endPoint). But i am getting the following error: Location "Location 1" in "Stops" is unlocated. Location "Location 2" in ...
1
vote
1answer
25 views

Selecting Graphic Symbol On Click Android

I'm using the arcGIS Android API with Android Studio, and I would like to know how to select a graphic symbol when a user taps on it. I have a graphics layer and I've added a couple picture marker ...
1
vote
0answers
25 views

How to return coordinates of my location using LocationDisplayManager (ESRI API)?

I'm trying to create an application which works with lat and long of a device position. I'm using LocationDisplayManager class to find and to map a location. MapView mMapView = null; public void ...
0
votes
1answer
35 views

Find Point in Polygon

I am working with ArcGIS Android..Offline Geodatabase. I have Point as a graphics and Polygon layer as a feature layer.I want to find out Point in Polygon? I have used the following code : query = ...
1
vote
1answer
35 views

Location Marker Pin on Esri map is changing direction when we navigate. How to stop rotating of map pin

I am using a custom map marker icon which works well as expected. However as I navigate , the direction of the marker pin on map changes. I have tried changing the coarse symbol and heading symbol as ...
0
votes
0answers
18 views

Android SDK queryRelated objects fails with java.io.IOException

We have developed an Android App that connects to a Federated ArcGIS Server services using a Web Map., the app does a lot of things, besides charging the web map, and it works on an environment ...
0
votes
0answers
14 views

How to delete feature from ArcGIS secured REST end in Android

I am trying to delete feature from secured ArcGIS feature layer using apply edits by passing a graphic array as input, but it is showing me the error unable to complete operation, no adds, ...
1
vote
1answer
26 views

Create a credentials file for ArcGis/Android

I am running the OAuth2Sample app from the arcgis-runtime-samples-android projects. In the code it looks for a credentials file: if (fileExists(mCredentialsFileName)) { How do I create a ...
1
vote
1answer
25 views

Identity Manager ArcGIS API for Android

im currently building some android application with arcgis, but my client using Identity Manager for auth user on the portal, i have tried using oauth2 Rest with token in my local development and ...
0
votes
0answers
16 views

Showing Polyline attribute in ArcGIS for Android?

I have a polyline shapefile that I am displaying in my android app. (Eclipse ADT java etc) The Shapefile is of a road network and includes attributes such as the RoadID etc. the polylines of the ...
1
vote
0answers
33 views

java.lang.IllegalStateException: Scheme 'file' not registered

I have Android/Java code that adds layer to a MapView, calling a RESTful service, like so: mDynamicServiceLayer = new ArcGISDynamicMapServiceLayer(getResources().getString(R.string.some_url)); ...
1
vote
0answers
21 views

Internal server error from ArcGIS for Android sync?

I am trying to use server based offline maps to do all my edits offline and sync them to the server online. I am able to do all my edits usccessfully. However, when I am doing sync using the ...
0
votes
0answers
30 views

how to stop symbols from rotating with the mapview in arcgis for android?

I am using arcgis android sdk and I enabled the rotation in my mapview. I added picture marker symbols and I want them to rotate with the mapview the problem is that when the mapview rotates the ...
1
vote
0answers
37 views

Unable to see shapefile? [duplicate]

I am trying to add my shapefile which consists of buildings to my MapView. However, I am not able to see it. I am referring to Buildings.shp on my SD card. I am able to open and see the same shapefile ...
1
vote
0answers
32 views

Partial extents for ArcGIS android geodatabase creation

I know how to create and download a geodatabase copy of a FeatureServer from arcgis rest services. I also know how to pass LayerQuery to the geodatabase task to filter layer objects and features. ...
0
votes
1answer
58 views

Publishing ArcGIS Server service without cache does not show map on mobile?

We're publishing a whole country data set using ArcGIS Server and we need to display it on web and on mobile applications. The issue we're facing is that the data is too big so we're not creating ...
0
votes
0answers
10 views

ESRI LocatorFindParam and locator class throwing null error

I wanted to implement a search method for address in an app that uses esri. I am currently using the same code from this esri tutorial, however, when I run the code, locator.find(findParams)appears to ...
1
vote
0answers
25 views

Googlemaps.tpk with ArcGIS

I stored a googlemaps.tpk file in my sdcard. I am trying to run it with ArcGIS but it gives the error file is not a tiled package. My question is that how to run googlemap.tpk file with ArcGIS.
0
votes
0answers
53 views

Map click working on Apple Ipad, Iphone but not working on Android Chrome

I had a web application using ArcGIS javascript API 3.3 Few months before the zoom buttons +/- stopped working I am trying to update it to 3.14 API However now the buttons are working great but the ...
2
votes
1answer
168 views

MapFragment ArcGis - The specified child already has a parent

I'm trying to display a MapView from ArcGis in Android Studio. I'm using Map Fragments for that, I put in the xml the Map and my other UI stuff. Putting the MapView element in the layout file always ...
1
vote
1answer
71 views

How to change the colour of a Feature on a FeatureLayer using ArcGIS Android 10.2.6 API

I have a featurelayer generated from offline shapefile read from SD Card, with shapes representing houses. Android version is 4.2, API is ArcGIS Android 10.2.6. The user would select a shape/feature ...
0
votes
0answers
98 views

How to display labels on a FeatureLayer using ArcGIS Android 10.2.6 API

I am trying to display labels for a featurelayer generated from offline shapefile read from SD Card. Android version is 4.2, API is ArcGIS Android 10.2.6. Here is the code for the FeatureLayer: ...
0
votes
2answers
129 views

Shapefile not displaying in ArcGis Android SDK 10.2.6-2

I am trying to load a shapefile (not displaying at the moment) using the following: Hardware: Android rugged tablet running Android 4.2 SDK: ArcGis 10.2.6-2 Shapefile: ...
1
vote
0answers
116 views

Offline-ready web map for Collector fails to download--“Bad Syntax”

I've got a small Collector app with 6 feature classes that we've enabled for offline use in a 10.3.1 environment, but we're not able to download it. The error we receive is "Map Download Failed. ...
1
vote
0answers
38 views

Android ArcGIS API, how to loop into every Feature in Geodatabase

I have an offline geodatabase in android ArcGIS which I have downloaded through gdbAsyncTask. how do I loop into every feature in that geodatabase? for example I could have collect all the IDs from ...
0
votes
1answer
88 views

Clicking on points in ArcGIS Android

This seems like it should be very easy to do, but I am unable to click on a point and have the map recognize that I have clicked on the point. I first tried just creating a simple point, setting the ...
1
vote
1answer
99 views

ArcGIS Android SDK MapView.removeLayer method not working

I'm currently exploring ArcGIS's Android SDK. However, I've found that when adding a ShapefileFeatureTable to a FeatureLayer: FeatureLayer featureLayer = new FeatureLayer(shapefileFeatureTable); ...
0
votes
0answers
18 views

Schematics in ArcGIS Android?

Can somebody please confirm whether Schematics are supported in ArcGIS Android SDK? If yes, please refer to some tutorial/sample link. If no, do we have any alternative?
0
votes
0answers
80 views

arcgis android setExtent problem on android tablet

in my code I am using mMapView.setExtent(geometry) to zoom to a tile on the graphic in the map. this works well for my phones but on the tablet the zoom level is beyond the level of the .tpk map so ...
0
votes
0answers
46 views

ArcGIS Android labeling ArcGISFeatrureLayer

I am making ArcGIS Android app and currently I am working on adding labels to ArcGISFeatureLayer (which is retrieved from webmap and not a url). Any ideas how I could do it?
1
vote
1answer
90 views

ArcGIS Android - ArcGISFeatureLayer error: EsriServiceException: Internal Server Error

I am developping an Android application using tse ArcGIS SDK for Android. I am facing a problem when querying a featurelayer: the featurelayer I am using is hosted in our ArcGIS Online, and this is ...
2
votes
0answers
104 views

IS it possible to use geoserver WFS-T services with ArcGIS android SDK?

I have to use ARCGIS SDK in my project and I should edit some layers. In fact there is a sample which I can learn how ArcGIS API for android works.In it we the editable layers are from a service like ...
1
vote
0answers
46 views

ArcGIS Android negative feature OID

I am attempting to add a feature to an existing feature layer hosted on the ArcGIS for developers website. However, when I attempt to apply edits to the map, it does not ever actually add it, and when ...
1
vote
0answers
60 views

how does projection happen in arcgis with regards to spatial reference

I have a map loaded in my Mapview called mMapview.and here is what i did Point p1=new Point(66.9969,6.65428); //i took this coordinate from my gps device for demonstration Point p2=(Point) ...
1
vote
0answers
125 views

Esri Geotrigger tutorial [closed]

I completed the "Configuring Push Notification" part of the Esri geotrigger for Android. However, I keep getting the "unable to load device" error. What could be the reasons for getting this error? ...
1
vote
1answer
24 views

adding barriers is not working in arcgis sdk for android

I have a program that displays this path when I give it two points shown by the red marker. I wanted to create a barrier on that road so I added this code Polygon po=new Polygon(); ...
1
vote
1answer
84 views

ArcGIS Android export tile cache for higher levels (only level 9 in samples)

I need to cache a few tiles for the offline part of my application. Though in the samples provided for Android the following server link has been used for exporting local tile chache: ...
1
vote
1answer
35 views

modify LocationDisplayManger class drawing coordinates

I noticed that LocationDisplayManger will show a marker on ur screen the current device location and am glad for that,but the problem is that i have to do a little bit adjustment before b/c a direct ...
0
votes
1answer
270 views

How to project WGS84 to Kertau RSO in ArcGIS Android

How do I make a conversion from WGS84 (longitude, latitude) to Kertau RSO using ArcGIS Android? I looking into this for my project. Am I looking at the correct direction? I have following points in ...
1
vote
1answer
86 views

ArcGis for Android Beginner

I have the following activity called activity_esri_map: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" ...
1
vote
0answers
111 views

Unable to submit changes in feature layer using applyEdits arcgis for android

After fetched my webmap from portal and found the layer I want add a polyline to, I'm trying to use the applyEdits method to update it in portal. Unfortunately, it doesn't work. My code goes as ...
1
vote
0answers
224 views

How to Draw an Arrow between 2 point for ARCGIS ANDROID?

I want to develop an android app where i need to draw a arrow line between 2 point. I know how to draw a line between 2 point. But cant get any idea to draw an arrow for the same. Please help... ...
0
votes
1answer
355 views

ArcGIS Android finding the shortest route between multiple stops

ArcGIS is already equipped with API service which calculates the shortest path between a start and an end point based on length, time etc. The following is how the service is called to returns in a ...
2
votes
1answer
243 views

How to read or import shapefile into android studio in order to view the ArcGIS

I am developing an ArcGIS project with Android Studio IDE, to view some maps and information and I would like to read some shapefiles from another project. But I couldn't find a solution on how to do ...
0
votes
0answers
38 views

ArcGISDynamicMapServiceLayer not refreshing security token

I have a secure service that's secured by arcgis tokens (ArcGIS for Server 10.2.2). When I start my Android application and load the layer, everything's fine: ArcGISDynamicMapServiceLayer ...
0
votes
1answer
337 views

Not displaying polyline on the map in android

I'm new to ArcGIS runtime SDK and I want to add path(polyline) on the map after giving coordinates where to draw.. But not displaying the path on the map and even not occur any error. MapView ...
1
vote
1answer
70 views

on Arcgis Android SDK Getting codedvalues from ArcGISTiledMapServiceLayer

i have arcgis mapview, and when user click on Mapview, i get point which is clicked after that i search with IdentifyParameters class and i am getting information about layers which is clicked place. ...
1
vote
1answer
290 views

ArcGIS. Coordinates conversion from WGS84 to Stereo70 is not precise

So I want to convert coordinates from WGS84 to Stereo 70 and it is not working precise. For example, I have the coordinates (20.2600, 43.6200) and in Stereo 70 should look like (448469.26,325966.67) ...
0
votes
1answer
99 views

ArcGIS WMS in Android. ArrayIndexOutOfBoundsException

I have a simple Android application that used the ArcGIS SDK to render a map, that works fine, but when I try to use a WMSLayer to render over my map, it generates me an ArrayIndexOutOfBoundsException ...
1
vote
1answer
51 views

Android arcgis how to use only a layer from a service containing 3 layers?

I have this service: http://*************/ArcGIS/rest/services/mod_streets/MapServer Layers: Numbers (0) StreetsGraph (1) Streets (2) And I'm trying to use only Numbers (note /0) map = ...