Only beeps in voice navigation
See original GitHub issueHi, I’m using HERE Android SDK Premium Edition v.3.14 I implemented a voice support in navigation corresponding to the sample:
- Download voice catalog
VoiceCatalog voiceCatalog= VoiceCatalog.getInstance();
voiceCatalog.downloadCatalog(new VoiceCatalog.OnDownloadDoneListener()
- Corresponding to system locale found voice package from the list and download voice if it’s not local
String deviceLang = Locale.getDefault().getLanguage();
int packageIndex = 0;
for (int i = 0; i < voicePackages.size(); i++) {
if (voicePackages.get(i).getBCP47Code().equals(deviceLang)) {
packageIndex = i;
}
}
...
voiceCatalog.downloadVoice(voicePackages.get(packageIndex).getId(), new VoiceCatalog.OnDownloadDoneListener()
- And use the first voice skin from the list
VoiceSkin voiceSkin = voiceCatalog.getLocalVoiceSkins().get(0);
VoiceSkin.OutputType type = voiceSkin.getOutputType();
NavigationManager.getInstance().getVoiceGuidanceOptions()
.setVoiceSkin(voiceSkin);
But when I try simulation in navigation mode app only generates one beep in the beginning for CAR navigation mode. Voice packages size for me is 81 and selected skin id is 100003001. I have samsung phone with samsung TTS engine setted. Also I checked output type of voice skin and it was AUDIO. Could you, please, share your thoughts what I’m doing wrong? Thank You.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Google Maps beeps instead of talking
Basically, Google Maps on iOS beeps instead of talking. I had this problem with my iPhone 7 (iOS 11 to 12), and keep...
Read more >Google maps only beeps on carplay - Apple Community
Google maps only beeps instead of giving me voice directions (completely missing the point of using maps) when using Carplay.
Read more >Beeps instead of directions during Google Maps Navigation ...
Beeps instead of directions during Google Maps Navigation via CarPlay. Hi all, As the title suggests, Google maps now randomly beeps at me,...
Read more >Google Maps Not Talking or Giving Voice Directions? 12 ...
You won't hear Google Maps' voice navigation if your device's volume is low or muted. Press the Volume Up button on your phone...
Read more >Apple Maps Beep/Ding-Dong Instead of Talk on iPhone iOS 16
apple maps beeping instead of talking, apple maps ding-dong instead of voice, Why does Apple Maps beep instead of talk, Apple Maps voice...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@SergiiM By default, the SDK always has two voice skins preinstalled.
The code below always selects the second one.
VoiceSkin voiceSkin = voiceCatalog.getLocalVoiceSkins().get(0); VoiceSkin.OutputType type = voiceSkin.getOutputType(); NavigationManager.getInstance().getVoiceGuidanceOptions().setVoiceSkin(voiceSkin);
Please refer to example how to use voice guidance: https://github.com/heremaps/here-android-sdk-examples/tree/master/voice-navigation
@Merlin1stHere thanks for answering with this info I’ve implemented voice navigation in a way as required. @cetorres thanks for sharing. Issue can be closed.