Questions tagged [arcgis-android]
Use for questions related the ArcGIS Runtime SDK for Android.
111
questions
0
votes
0
answers
108
views
ArcGIS add features (Feature Service) does not load map in Android
I published the service using ArcGIS Server and can load it successfully with JS API.
var layerss = new FeatureLayer({
url: "https://hbsyb.booway.com.cn/arcgis/rest/services/zjsxyd/...
2
votes
2
answers
392
views
Reading ESRI SDE data from network port 5151
I am performing a network vulnerability scan of an Android Automotive platform. My setup consists of a Kali Linux machine and an Android Automotive Infotainment System on a local network.
During the ...
1
vote
0
answers
32
views
Map Drift on ArcGIS Pro Mobile Map
I am fairly new to ArcGIS Pro. I have created an offline Mobile Map using ArcGIS Pro 2.3.0. which I am developing for a waypoint mapping project in Android. The Mobile Map uses the Imagery basemap. ...
0
votes
0
answers
142
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
1
answer
766
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
1
answer
367
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
1
answer
870
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
2
answers
3k
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
1
answer
182
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
1
answer
1k
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
1
answer
230
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
1
answer
3k
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
1
answer
517
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
0
answers
51
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
0
answers
210
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
1
answer
150
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
1
answer
237
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
0
answers
122
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
2
answers
312
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
1
answer
970
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
1
answer
1k
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
1
answer
352
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
1
answer
362
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
0
answers
335
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
1
answer
81
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
1
answer
111
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
0
answers
185
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
0
answers
51
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
0
answers
46
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
1
answer
164
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
0
answers
89
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
2
answers
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
1
answer
898
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
2
answers
335
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
1
answer
242
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
1
answer
427
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
1
answer
498
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
1
answer
380
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
0
answers
375
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
0
answers
129
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
0
answers
224
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
0
answers
220
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
1
answer
68
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
1
answer
266
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
1
answer
79
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
1
answer
2k
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
1
answer
238
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
0
answers
387
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
1
answer
3k
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
1
answer
2k
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 ...