Questions tagged [arcgis-android-api]

48 questions
0
votes
1 answer

Stop "Unnamed (Index = 0)" is unallocated

I am using esri offline maps and getting routes with route task . But facing this issue that Stop "Unnamed (Index = 0)" is unallocated. esri. Any help would be appreciated. If required i'll edit and put the code. error Stop "Unnamed (Index = 0)" is…
Luther
  • 573
  • 1
  • 6
  • 16
0
votes
1 answer

Is it possible to combine mapAreas from ArcGISOnline in one offline map on android?

I try to create an offline map using ArcGIS Runtime SDK for Android 100.5.0. I follow preplanned workflow according the guide https://developers.arcgis.com/android/latest/guide/take-map-offline-preplanned.htm. I create mapAreas in ArcGISOnline and…
0
votes
2 answers

Android: Draw polygon by detecting paths in farms on base map satellite view in given extent

In Android: I want to draw polygon automatically by detecting paths in farms on base map satellite view in given extent. Is it possible ?. For example I have Farm having multiple acres. When I mark Farm with a polygon feature, I want to further…
0
votes
1 answer

Arabic text is not showing in TextSymbol

I need to set Arabic text in TextSymbol in android. Here is my code TextSymbol txtSymbol = new TextSymbol(24, "مرحبا", Color.BLUE); Point pt = new Point(-293826, 7574114); Graphic gr = new Graphic(pt, txtSymbol); GraphicsLayer gl = new…
0
votes
1 answer

ArcGIS version 100.3.0 android token

Below is the code I'm using for setting user credentials on ServiceFeatureTable. ServiceFeatureTable featureTablePolygons = new ServiceFeatureTable(polygonUrl); featureTablePolygons.setCredential(UserCredential.createFromToken(gisToken,…
Manoj
  • 1
  • 1
0
votes
0 answers

Make graphics clickable instead of create new graphics in map

So, I have a map with a MapOnTouchListener on it. I have overriden the OnSingleTap method (allPoints is an array where all markers are added for a non related to this question functionality): @Override public boolean onSingleTap(MotionEvent…
Fustigador
  • 6,339
  • 12
  • 59
  • 115
0
votes
0 answers

How to create offline route in ArcGIS sdk version 100.2.1

I get this error while accessing from local database: E/RoutingActivity: com.esri.arcgisruntime.ArcGISRuntimeException: Cannot call this method in this context How to create offline route in ArcGIS sdk version 100.2.1? All examples are given in…
0
votes
2 answers

Mobile map package returns null for map

I downloaded Arcgis sample mmpk file and even I made a mmpk myself. In both files I have 1 map(checked by debug) but when I try load the map (with codes in Esri guide page) it returns null for map. Good to say that I can show online map in my map…
user7241242
0
votes
1 answer

How to get a listener for many Feature Layers in ArcGIS Android?

I have two Feature Layers added into a Map that I can see when I display the MapView. However, it's only the last added Feature Layer that can be processed by the Touch Listener. I cannot figure out how to make all Features Layers taken into account…
gael
  • 1
0
votes
1 answer

ArcGIS Runtime Android SDK100.1.0 Offlinemap edit and synch

I am able to download map from ArcGIS Android SDK-100.1.0, but after that how I will edit this map,i.e., add or delete a marker point and after this editing I will need to synch offline edit data to ArcGIS Map server. Here is my code of offline map…
Satyaki Mukherjee
  • 2,857
  • 1
  • 22
  • 26
0
votes
0 answers

ArcGIS Android SDK-100.1.0 Offline downloaded map edit and sync

I am surprised that ArcGIS provided all the tutorial docs for iOS but not for Android. Here I have got the iOS sample which I want - Offline edit and Sync in iOS but there are no tutorial for Android. Though I am able to download ArcGIS online map…
Satyaki Mukherjee
  • 2,857
  • 1
  • 22
  • 26
0
votes
1 answer

how to save save a tpk file from export tile cache method in arcgis sdk for offline usage

I am able to cache the tile from arcgis SDK and save it in a folder. But once I close the application and reopen it, I am not able to display the cached map in offline. can someone please help me how to save for offline usage..?
Soumya
  • 35
  • 7
0
votes
0 answers

Difference between Argcis v10.2.8 and Argcis v100 (Android)

I'm new to arcgis. I'm trying to develop an android app based on argcis. When i use v10.2.8 as used in guide (https://developers.arcgis.com/android/10-2/guide/welcome-to-the-help-for-arcgis-runtime-sdk-for-android.htm), there is no problem. Also,…
onrgns
  • 61
  • 4
-1
votes
2 answers

Arcgis server CreateReplica REST API of feature not working

I created Feature class in enterprise geodatabase (SQLServer2014 express). Feature class is sync enabled and published successfully. Now I can not generate offline geodatabase from Arcgis Android SDk. I can see ' Create Replica ' from 'Supported…
-1
votes
1 answer

Android build fails always when I build using Jenkins

When I try to build my android project using jenkins, the build always fails. But it succeeds when I'm building through android studio. My Project level build.gradle code is given below buildscript { repositories { jcenter() …