Questions tagged [arcgis-android-api]

48 questions
1
vote
0 answers

Trying to create a query using ArcGIS android API

I am trying to create a query to take the selected item from a spinner and query it with information from a URL. But anytime I run it, it throws an exception saying my parameters are invalid. Code: QueryParameters qryLotNums = new QueryParameters…
1
vote
2 answers

File not found exception when using ShapefileFeatureTable with ArcGIS on Android

I'm trying to use ArcGIS to draw some shape file on the map using its ShapefileFeatureTable. But when I try the load the shape file I get a File not found Exception. This is the code I'm using: ShapefileFeatureTable shapefileFeatureTable; try { …
2hamed
  • 8,719
  • 13
  • 69
  • 112
0
votes
0 answers

ArcGIS Maps SDK - Click on symbol and show popup with text

I created a symbol on a map. val symbol = PictureMarkerSymbol.createWithImage( BitmapDrawable(resources, drawable?.toBitmap()) ) val pointGraphic = Graphic(point, symbol) Now I want to click this symbol and this click shows a popup for this…
padmalcom
  • 1,156
  • 3
  • 16
  • 30
0
votes
0 answers

Difficulty passing custom authentication token with Android SDK service feature request

I am currently working on an Android application that utilizes the Esri Maps SDK. In my application, I need to pass a custom authentication token along with the service feature request to the server. However, I initially encountered an error while…
Vipul Purohit
  • 9,807
  • 6
  • 53
  • 76
0
votes
0 answers

Get the bounding box of the current area shown in arcgis MapView

in our android app we are displaying markers on a map based on the ArcGIS Maps SDK. I now want to update the markers every time the user navigates in the map. So my question are: How am I informed when the user navigates the map? Is there something…
padmalcom
  • 1,156
  • 3
  • 16
  • 30
0
votes
0 answers

Is there a way to auto scale an icon based on the map scale in arcgis android version 100.6.0

Im developing an app for android V4.4 so I have to use arcgis runtime sdk 100.6.0 I couldnt find a way to make the PictureSymbol in my GraphicOverlay to auto scale based on the current map scale. I tried looking into this…
0
votes
0 answers

how create a Local Layer and can search it

For some reason, I need to create a local layer. Unlike GraphicLayer, I need to be able to search for it, just like FeatureLayer. Although FeatureLayer has the above functions, it cannot be created locally and can only be connected online So is…
0
votes
1 answer

How to query data from MapImageLayer? ArcGIs for android 100.x

I want to be able to query data from MapImageLayer But I can't seem to find relevant tutorials and APIs FeatureLayer has such a method public ListenableFuture selectFeaturesAsync​(QueryParameters query, FeatureLayer.SelectionMode…
0
votes
0 answers

Add polygon to feature service ArcgisMap android

i want to add my polygon geometry to feature service. When i add point to feature service, working all. But when i add polygon to feature service not working. I log results in my logcat. I saw the doneListener method called, But…
0
votes
0 answers

How to perform coordinate system conversion while accessing the wmts service?

Use arcgis runtime for android to access the wmts service. The coordinate system of the access service is cgj-02. I want to convert it to CGCS2000 and draw it on the base map, which is consistent with the base map.
0
votes
1 answer

ArcGis locator task vs REST call has different results

I am using the android and iOS sdks to perform a geocode request to the server. When I am calling the same endpoint using REST I get different results back. In my case the REST call has way more results. iOS code: let locatorTask =…
0
votes
1 answer

Are Circular Arcs supported in ArcGIS Android API 10.X or 100.X?

I see that the class com.esri.arcgis.geometry.CircularArc is supported in ArcGIS Enterprise .NET API but it seems that a similar class isn't contained in com.esri.arcgisruntime.geometry. I am developing an android application which contains trivial…
Sepideh Abadpour
  • 2,550
  • 10
  • 52
  • 88
0
votes
1 answer

My Activity is getting null object exception when the app resumes after bing in the background

I have an android app that has a second module included in the app when the main activity starts an activity in the module everything is good. The problem is if you go to another app and then resume this app the activity crashes with a null object…
Jay Bowman
  • 69
  • 9
0
votes
1 answer

I am developing an Android app with ArcGIS offline map support. For that which one I have to use? MPK or MMPK package? How to download it?

I am developing an Android app with ArcGIS offline map support. To work with an offline map in android what I have to download? MPK or MMPK? By which tool I can generate the corresponding package? Does anyone have previous experience on the same? I…
Alex Chengalan
  • 8,211
  • 4
  • 42
  • 56
0
votes
1 answer

avoid reload arcgis map on android

I am moving a point every so often, the problem is that to keep the point inside the map and not get lost as it moves, I have to reload the map. How could you avoid recharging it, since the movement occurs every two seconds and the map is reloaded…