POST
|
I create any Android project and compiling the application shows the name I want. If I add the "compile 'com.esri.arcgisruntime:arcgis-android:100.1.0'" line to the build.gradle file, When I compile the application the name changes by "API AAPI de Android". I have checked that I automatically replace the "app_name" with that name in the files that is in the path: app\build\intermediates\incremental\mergeDebugResources\merged.dir\values-es\values-es.xml app\build\intermediates\incremental\mergeDebugResources\merger.xml app\build\intermediates\incremental\mergeDebugResources\merged.dir\values-es\values-es.xml
... View more
07-28-2017
01:41 AM
|
0
|
2
|
535
|
POST
|
Hello! I am not able to do an functional example of closest facility in ios. Someone who has solved it? Thanks
... View more
07-27-2017
01:50 AM
|
0
|
1
|
413
|
POST
|
I have already checked all of these properties and they are correct. I have tested it on several computers and the result is the same. If I use gradle to import the 100.1 library when compiling the application it automatically changes the name. I do not understand what may be happening ...
... View more
07-27-2017
12:59 AM
|
0
|
4
|
535
|
POST
|
It's a little weird. When I make a query that returns one result there is no problem. But if in the where clause I put "1 = 1" to return all results is when it returns null in "result.getRoute(0,0)". I have tried serviceFeatureTableX.loadAsync() but it does not solve my problem. Anyway thanks a lot for your quick reply
... View more
07-26-2017
03:15 AM
|
0
|
2
|
401
|
POST
|
Thanks for the reply. It has helped me. I have another question. I have tried to do the example on a ServiceFeatureLayer with several points. I have replaced: List facilities = new ArrayList<Facility>();
facilities.add(new Facility(new Point(-13045663.744, 4039204.580, WEB_MERCATOR)));
mClosestFacilityParameters.setFacilities(facilities);
by: QueryParameters queryParams = new QueryParameters();
queryParams.setWhereClause("1=1");
queryParams.setReturnGeometry(true);
mClosestFacilityParameters.setFacilities(serviceFeatureTableX, queryParams);
When I do the method result.getRoute(0,0) returned NULL.
Any ideas?
Thanks!
... View more
07-24-2017
09:01 AM
|
0
|
4
|
401
|
POST
|
Hi! When compiling any android application in version 100.1.0 of arcgis, the name of the application is automatically changed to "API AAPI de Android" Has it happened to someone else? Thanks!
... View more
07-17-2017
03:48 AM
|
0
|
6
|
1128
|
POST
|
I am testing the sample code of ClosestFacilityTask| arcgis-android and I can not make it work. I'd appreciate your help. For example: // create ClosestFacilityTask instances mClosestFacilityTask = new ClosestFacilityTask(context, "http://www.yourserver.com/arcgis/rest/services/NetworkAnalysis/CA/NAServer/Closest%20Facility"); ..... // get default parameters final ListenableFuture paramsFuture = sClosestFacilityTask.createDefaultParametersAsync(); (I guess it's a syntax error) paramsFeature.addDoneListener(new Runnable() { @Override public void run() { try { mClosestFacilityParameters = paramsFuture.get(); (Return Object [] when mClosestFacilityParameters is a ListenableFuture?) // add your Facility List facilities = mClosestFacilityParameters.getFacilities(); (Cannot resolve method) facilities.add(new Facility(new Point(-13045663.744, 4039204.580, WEB_MERCATOR))); // add your Incident List incidents = mClosestFacilityParameters.getIncidents(); (Cannot resolve method) incidents.add(new Incident(new Point(-13052490.008, 4035542.739, WEB_MERCATOR))); // solve final ListenableFuture resultFuture = mClosestFacilityTask.solveClosestFacilityAsync(mClosestFacilityParameters); resultFuture.addDoneListener(new Runnable() { @Override public void run() { try { // get ClosestFacilityRoute by facility and incident indexes ClosestFacilityResult result = resultFuture.get(); (Gives an error because it requires a ClosestFacilityResult and get () returns an Object) mClosestFacilityRoute = result.getRoute(0, 0); } catch (Throwable e) { Log.e(e); } } }); } catch (Throwable e) { Log.e(e); } } }); Thanks!!
... View more
07-14-2017
04:37 AM
|
0
|
6
|
723
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:25 AM
|