mapbox-navigation-android icon indicating copy to clipboard operation
mapbox-navigation-android copied to clipboard

Route Voice to Device Speaker when Connected to Bluetooth

Open billyking991 opened this issue 6 years ago • 10 comments

Is it possible to route the navigation voice to the device's speaker when the device connects to Bluetooth in an audio system? If not, I would like to have that ability, if possible. My app users have been requesting this ability for a little while.

When I start my car, the only way I can hear the voice after my device connects to Bluetooth is if I set my radio input to the device. If I'm listening to XM/FM, the voice won't play properly. I would like the ability to play the voice over the device's speaker, if desired.

Waze has a similar feature located in Settings -> Voice & Sound -> Play Sound Via.

Android API: - Android 5 - 9 Mapbox Navigation SDK version: - 0.37.0

Steps to trigger behavior

  1. Let device connect to Bluetooth
  2. Set radio to XM/FM/AM
  3. Start navigation

Expected behavior

User should be able to choose where the voice is heard in the app Settings. The choice should be between the car's audio or the device's speaker.

Actual behavior

The voice automatically is routed to the car's audio system if the device is connected via Bluetooth.

billyking991 avatar May 13 '19 14:05 billyking991

Hey @billyking991 👋 are you referring to this option?

ezgif com-video-to-gif

danesfeder avatar May 13 '19 17:05 danesfeder

Yes! I apologize...the path I had posted above was for iPhone. I would love to be able to add that feature to my Mapbox app. Is there any way to do that yet?

billyking991 avatar May 13 '19 21:05 billyking991

I just had two more people asking for this feature. If there isn't a way to route the voice programmatically, I would love the option to add it to my apps.

billyking991 avatar May 18 '19 23:05 billyking991

Joining in to say that we are also interested in this feature!

cmahopper avatar Jun 07 '19 06:06 cmahopper

Just checking back on this. Is there a way to map the voice to the device speaker when the device is connected to the car audio with Bluetooth? This is one of the most confusing things for my app users. They can't hear the voice when the device is connected to Bluetooth, but they are listening to FM radio. I've tried routing it with code, but have had no luck.

Right now, the only solutions are:

  1. Disconnect from Bluetooth.
  2. Set the radio input to Bluetooth which only allows them to listen to music played over the device itself.

Is there is a way to route the navigation voice over the device speaker when the device is connected to Bluetooth?

billyking991 avatar Oct 18 '19 15:10 billyking991

Same here please get this feature. Its very strage this day and age to not have this work,

parkktech avatar Dec 12 '19 06:12 parkktech

I've tried to figure this out on my end, but I have been unable to do so thus far. If you know of a way I can reroute the voice using a bit of code, please let me know. I will give it a try on my end.

billyking991 avatar Dec 13 '19 00:12 billyking991

@asinghal22 is this something we want to support in 1.0?

cc @JunDai @abhishek1508

Guardiola31337 avatar Jul 08 '20 13:07 Guardiola31337

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Nov 09 '20 11:11 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Mar 11 '21 02:03 stale[bot]