Select to view content in your preferred language

ArcGIS Online and Network Services in Android

985
6
12-09-2012 09:50 AM
alaarasheed1
New Contributor
Hello,

Can I publish a network service on ArcGIS Online then use it in android application to do some routing ?

Thanks and Regards.
0 Kudos
6 Replies
DanO_Neill
Deactivated User
The forthcoming release of Android SDK v10.1.1 will have support for Network Analyst tasks which will support the workflow you are describing.
0 Kudos
DanO_Neill
Deactivated User
The current release, v2.0, does not support custom network services to do some routing.  Our next release, v10.1.1, will have support for using custom network services for routing.  The current version supports Geoprocessing so you could set up a GP Service, or use an existing one here, to do some simple routing tasks.  But full support will not be available until the next release, v10.1.1.
0 Kudos
AlaaB__Rasheed
Deactivated User
Thanks Dan for your reply..

Is it possible to use arcgis online to publish a service with a GP tool and then use it in developing my android app ?
Will I need some sort of subscription to do so ?

by the way, I think the next version of android sdk will be v2.0.4 and you keep calling it v10.1.1. Am I right ?

Regards..
0 Kudos
DanO_Neill
Deactivated User
You can use the Android SDK with geoprocessing services that supports one of the following 2 main operations:


  1. Execute a task synchronous: esriExecutionTypeSynchronous

  2. Submit a job to a task asynchronously: esriExecutionTypeAsynchronous


The Viewshed sample application illustrates the usage of Geoprocessing in the SDK.  Here are the key concepts to using geoprocessing with ArcGIS Server and a checklist for authoring geoprocessing services. 

Current release of Android SDK is v2.0.  The next release will be a synchronized release of all the Runtime SDK's whereby all SDK's will be versioned as 10.1.1.  More information about the release can be found here.
0 Kudos
AlaaB__Rasheed
Deactivated User
Thanks a lot, This was very helpful
0 Kudos
SamSharma1
Emerging Contributor
Network analysis services are built into many ArcGIS products. The primary purpose of these services is to help optimize transportation challenges. This collection of services can be used to perform point-to-point routing, optimize a fleet of vehicles and their work for the day, calculate drive times, and show current and historic traffic maps to help make better decisions.

This Network service (ESRI_Route_NA) enables you to generate routes and driving directions for two or more points in the United States and Canada. The service supports multi-point routing with up to 10 stops per request, including an option to find the best sequence of stops. The service supports the option for route barriers with up to 25 barriers per request.

Network service in Android
0 Kudos