You can set Default start and end location over google maps using the direction tab. Step 1 Go to Add or Edit Map and scroll down to 'Tabs Settings' section. Step 3 Enter start and end location in 'Default Start Location' and 'Default End Location' Tab.
Look for the Google microphone/voice recognition button while navigation is going and tap it and ask: "what's my next turn". And, voila, it repeats!
I'm starting Google Map from my application to Navigate the user to some location.
Here is my code.
Intent intent = new Intent(android.content.Intent.ACTION_VIEW,
Uri.parse("google.navigation:q=" + rideDetailsModel.getEndLatitude() + "," + rideDetailsModel.getEndLongtitude()));
startActivity(intent);
I'm using Chat Head like Uber driver app to take back to my application from Google Map. That's working fine. The problem is, While I'm invoking the same code above, Google Map asks me to exit from the previous navigation. Because previous navigation is not cleared.
How to force Google Map to create new navigation without asking to close the previous one.
Two methods can solve my problem.
Method 1
If I can close Google map application from my application, my problem solved. But I searched a lot, the non-rooted phone can't kill other applications.
Method 2
Clear the previous navigation and create new navigation. So Google Map won't ask the user to exit from the previous navigation before start the new navigation.
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