How to start with the implementation of navigation?

1.6k Views Asked by At

How to start implementation of navigation in my application?

I want to see route between source and destination (for walk, driving, bicycling) with turning points. Which is the best API?

1

There are 1 best solutions below

2
On

I recommend that you take a look at the Google Maps v2 Android API:

https://developers.google.com/maps/documentation/android/

Concerning Navigation, this could give you a hint:

Intent nav= new Intent(Intent.ACTION_VIEW, Uri.parse("http://maps.google.com/maps?saddr=START_LON,START_LAT&daddr=END_LON,END_LAT")); 
startActivity(nav);

Please also take a look at this (possible duplicate) post for a full example of how to implement navigation and getting directions:

Get driving directions using Google Maps API v2

For getting started with the Maps API, please read carefully through this document:

https://developers.google.com/maps/documentation/android/start