I am building an android app that helps the user navigate between two points. This is the link to the doc. This is the exact functionality that I want to provide to the user, however I want the navigation to take place in my app rather than by launching the intent in this way
Uri gmmIntentUri = Uri.parse("google.navigation:q=Taronga+Zoo,+Sydney+Australia");
Intent mapIntent = new Intent(Intent.ACTION_VIEW, gmmIntentUri);
mapIntent.setPackage("com.google.android.apps.maps");
startActivity(mapIntent);
I have embedded google map in my app but cannot think of how to implement this navigation. Can somebody guide me or provide any hints or tutorial regarding the same? Thanks in advance !!
It's not possible in Google Maps V2 API
. Better to used HERE Maps for that. I recently implemented in my app and it's awesome.
Reference go to https://developer.here.com/mobile-sdks/documentation/android-hybrid-plus/topics/map-guidance.html
Also go to Here maps is not working
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With