User Tools

Site Tools


manual:advanced:locus_api:routing_service

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
manual:advanced:locus_api:routing_service [2015/05/21 15:20] – [How to] mstupkamanual:advanced:locus_api:routing_service [2015/09/08 18:11] (current) mstupka
Line 1: Line 1:
 ====== Routing service ====== ====== Routing service ======
- 
-<WRAP box left>  
-  * Locus type: <html><b><a href="https://play.google.com/store/apps/details?id=menion.android.locus&amp;referrer=utm_source %3Ddocs%26utm_medium %3Dheader%26utm_content %3Dlocus_api_routing_service" target="_blank">Free</a>/<a href="https://play.google.com/store/apps/details?id=menion.android.locus.pro&amp;referrer=utm_source %3Ddocs%26utm_medium %3Dheader%26utm_content %3Dlocus_api_routing_service" target="_blank">Pro</a></b></html>, **3.2.0+** 
-  * Last updated manual: **3.2.0 / 16.7.2014** 
-</WRAP> 
  
 ===== Basic information ===== ===== Basic information =====
  
-Since version 3.2.0, Locus offer possibility to implement own add-onthat will supply complete routing for Locus navigation. Method is based on [[http://developer.android.com/guide/components/services.html|Service]] and communication with Locus is thanks to [[http://developer.android.com/guide/components/aidl.html|AIDL interface]]. +Since version 3.2.0, Locus Map offers possibility to implement own add-on that will supply complete routing for Locus Map navigation. The method is based on the [[http://developer.android.com/guide/components/services.html|Service]] and communication with Locus works thanks to [[http://developer.android.com/guide/components/aidl.html|AIDL interface]]. 
  
-It sounds complicatedbut best is to check existing Locus add-on for [[https://bitbucket.org/asamm/locus-addon-graphhopper|Offline navigation]].+It sounds complicated but best is to check an existing Locus add-on for [[https://bitbucket.org/asamm/locus-addon-graphhopper|Offline navigation]].
  
 ===== How to ===== ===== How to =====
Line 16: Line 11:
 To add your own routing service to Locus, you need to To add your own routing service to Locus, you need to
  
-  * Installed Locus API in your IDE and added dependency to your new/existing project. More in [[manual:advanced:locus_api:installation|Locus API Installation]].+  * Install Locus API in your IDE and add dependency to your new/existing project. More in [[manual:advanced:locus_api:installation|Locus API Installation]].
   * Create //MyRoutingService extends [[https://bitbucket.org/asamm/locus-api-android/src/6b45a152967b4ffd4d294b186f8bd249fc91ff0a/src/locus/api/android/features/computeTrack/ComputeTrackService.java?at=default|ComputeTrackService]]//.   * Create //MyRoutingService extends [[https://bitbucket.org/asamm/locus-api-android/src/6b45a152967b4ffd4d294b186f8bd249fc91ff0a/src/locus/api/android/features/computeTrack/ComputeTrackService.java?at=default|ComputeTrackService]]//.
   * Register //MyRoutingService// in //AndroidManifest.xml// file   * Register //MyRoutingService// in //AndroidManifest.xml// file
Line 30: Line 25:
 </code> </code>
  
-  * That's all. Locus find your service thanks to defined //action// parameter and add it to the list of available routing engines. Right below the //MapQuest//, //Yours// and others.+  * That's all. Locus Map will find your service thanks to defined //action// parameter and add it to the list of available routing engines. Right below the //MapQuest//, //Yours// and others.
  
 ==== Possibilities ==== ==== Possibilities ====
  
-RoutingService allows direct integration into Locus. Thanks to AIDL, for users won't be even visible, that they use independent add-on. +RoutingService allows direct integration into Locus. Thanks to AIDL users won't be aware that they use independent add-on. 
  
 **What is possible** **What is possible**
-  * Specifiy basic information - name, attribution +  * Basic information - name, attribution 
-  * Ability to call "Settings" activity directly from Locus +  * Ability to call "Settings" activity directly from Locus Map 
-  * Ability to compute track between requested points and return back to Locus full Track with all navigation orders and required information for full voice navigation.+  * Ability to compute track between requested points and return full track back to Locus with all navigation orders and required information for full voice navigation.
  
manual/advanced/locus_api/routing_service.1432214439.txt.gz · Last modified: 2015/05/21 16:20 (external edit)