Questions tagged [arcgis-android]

Use for questions related the ArcGIS Runtime SDK for Android.

Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

Runtime feature layer in Android ArcGIS

The reference for my question is the Esri Android ArcGIS Runtime example SceneLayerSelection - a user interactively selects a building from the scene. The following line loads the buildings using a ...
0
votes
0answers
28 views

Identifying objects using ArcGIS Runtime SDK for Android?

There was a problem with the identification of objects. mGeoElements equal to zero. What is the reason and how can I fix it? I can't get attributes because of this. ArcGIS Runtime SDK for Android ...
0
votes
0answers
36 views

Snap Point to Line in ArcGISAndroid

I want ask about Snapping Point to Line in Android using ArcGIS SDK. Let say, I have a line, and when I appeared near the line, my position will change / move inside the line. Can ArcGIS SDK do that ...
0
votes
0answers
28 views

Operational layers loaded from ArcGIS Online Feature Services randomly do not display on a map

I'm developing an Android app using ArcGIS Android SDK 100.4. I'm using a simple basemap and add feature services from ArcGIS Online to it. This has been working perfectly for a few months. Recently ...
0
votes
1answer
266 views

Map Matching (snap GPS points road) in ArcGIS (REST API)? [closed]

Does ArcGIS have Map Matching function? (In Google Maps Services it's called "Snap to roads" - https://developers.google.com/maps/documentation/roads/snap) I checked next link, but didn't find ...
0
votes
1answer
285 views

app doesn't show current location

I am trying to build an arcgis nearby places android quite similar to this: https://developers.arcgis.com/example-apps/nearby-android/. I have make a map portal and import geojson file which placed ...
0
votes
1answer
443 views

Zoom on a set of graphics

I'm using Java with ArcGIS 100.1.0—ArcGIS Runtime SDK for Android. I have a number of locations(Point s) on the map, after I added all the markers as graphics (on a graphic overlay), I want to zoom ...
1
vote
2answers
814 views

How to create a point then draw (buffer) a circle with a given radius (in meters) in ArcMap? [closed]

I am new on ArcGIS, coming from Google maps API v2. I'm trying the 100.1.0 and I don't see anywhere how to add a circle like this . Should I write a script/code for the function myself?
0
votes
1answer
129 views

Arcmap digitize map display on android offline

Im quite new in arcmap map and i have been spending more than 2 week stuck in how to show map offline. I have tried the code is attached but when i run the application.It crashes nothing to show. You ...
0
votes
1answer
560 views

com.esri.arcgisruntime.ArcGISRuntimeException: Invalid JSON

I am new in the arcgis runtime. I am trying to develop an android application. Steps that i follwed Created an account in arcgis.com . Then i created one Feature Layer (hosted) from the shape files ...
1
vote
1answer
153 views

How can I perform multiple operations in a single applyEdits?

I want to perform update and delete operation in a single applyEdits() call from my android application, my code is as below: Thread.sleep(300); layer.applyEdits(null, deletes, updates, new ...
0
votes
1answer
2k views

ArcGIS Runtime SDK for Android how to get the lat and long of point

I am new in the field. I am trying to develop an android app which is able to perform some spacial operations like plot a poin, Dream a line, Polygon But my problem is how can i get the lat and ...
2
votes
1answer
226 views

ArcGIS Runtime SDK for Android map rotate across the north direction on click button

I am developing anAndrpoid app with ArcGIS Runtime SDK . I want to show set the map orientation always to north direction. I am trying to implemet this on onclick event of an image button. My try ...
2
votes
0answers
41 views

QueryTask problem in Android ArcGIS [closed]

I use ArcGIS in my Android app. I use query task for search in mapserver and show a feature by another color. I mean when a feature find should change color.my code work right but can not change ...
2
votes
0answers
121 views

ArcGIS routing with LatLng WGS84

I have wrote code based on the guide at: https://developers.arcgis.com/android/latest/guide/find-a-route.htm I am able to make API calls to find a route with just a start and end point as shown in ...
0
votes
1answer
135 views

Add layer of a shapefile into ArcGIS map

I need to develop an Android application that shows a given shapefile within a map. The problem is that shapefile is only visible if I dont use any mapoption at all (in xml file I delete the mapoption ...
1
vote
1answer
134 views

Overlay .mxd file to ArcGIS in Android Studio

I'm trying to overlay a floor plan of a building to the app I've built using the site: https://developers.arcgis.com/android/10-2/guide/add-geocoding-to-your-app.htm I have path segments and nodes ...
1
vote
0answers
105 views

Android WebMap Popup Viewing not showing my layer info

I used the code for WebMap Popup Viewing from ArcGIS for Developers (https://developers.arcgis.com/android/sample-code/webmap-popup-viewing/) and I just changed the map URL with a map I created and ...
3
votes
2answers
256 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
701 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
1answer
993 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
307 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
325 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 ...
2
votes
0answers
264 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, updates ...
1
vote
1answer
56 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 credentials ...
1
vote
1answer
56 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 ...
1
vote
0answers
141 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
46 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 ...
1
vote
0answers
44 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
125 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 ...
1
vote
0answers
78 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.
2
votes
2answers
1k 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
575 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
2answers
320 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: http://rdw.sandag.org/...
1
vote
1answer
189 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
334 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
427 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); ...
2
votes
1answer
332 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
328 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
86 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
206 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
216 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
49 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
209 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: http://...
1
vote
1answer
78 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
1k 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
226 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" android:layout_width=...
1
vote
0answers
356 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
1answer
2k 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 can't get any idea to draw an arrow for the same. private void ...
1
vote
1answer
1k views

Finding shortest route between multiple stops using ArcGIS for Android?

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 ...