Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [arcgis-android]

Use for questions related the ArcGIS Runtime SDK for Android.

0
votes
0answers
10 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
22 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
0answers
19 views

Exception while trying to sync SQLite to featureserver by Esri Android API after deleting and recreating mapService

I've developed a sample app which has a downloaded SQLite file from sync enabled feature server. for no reason, the feature server stopped and in the Android app, the user couldn't connect to feature ...
0
votes
1answer
144 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 ...
-1
votes
0answers
49 views

Bad projection from 4326 to 3857 Android

I have a point in Lat/Lon. I have checked in https://epsg.io/ thet the coords are ok, and are in the point I need it to be. My coords are 39.936421413580305,-0.11867087841782467. If you go to the ...
0
votes
0answers
28 views

Make graphics clickable instead of create new graphics in map

So, I have a map with a MapOnTouchListener on it. I have overridden the OnSingleTap method (allPoints is an array where all markers are added for non-related to this question functionality): @...
0
votes
1answer
212 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 ...
-1
votes
0answers
106 views

Android Map App

I am new to Android(3.0) App development. Can anybody verify the code as I am not able to see anything in emulator. Also I am trying to get map from geoserver(WMS Layer) which is already hosted. ...
0
votes
1answer
363 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
633 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
0answers
85 views

Esri android Geopackage

I'm using Spatialite Geopackage functions to convert SDE featureclass to Geopackage by iterating on a featurecurser.I'm doing it because we cant upgrade our ArcGIS platform version and we are working ...
0
votes
1answer
121 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
423 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
139 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
1k 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 ...
3
votes
1answer
166 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
40 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
96 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
129 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
123 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
100 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
231 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
605 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
925 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
287 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
310 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
241 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
55 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
136 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
44 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
122 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
993 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
529 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
319 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
185 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
320 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
393 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
326 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
321 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
76 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
204 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
210 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
47 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
203 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
77 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
223 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=...