question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Only beeps in voice navigation

See original GitHub issue

Hi, I’m using HERE Android SDK Premium Edition v.3.14 I implemented a voice support in navigation corresponding to the sample:

  1. Download voice catalog
VoiceCatalog voiceCatalog= VoiceCatalog.getInstance();
voiceCatalog.downloadCatalog(new VoiceCatalog.OnDownloadDoneListener()
  1. 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()
  1. 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:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Merlin1stHerecommented, Sep 30, 2020

@SergiiM By default, the SDK always has two voice skins preinstalled.

  1. Beeps and Vibrations (1003)
  2. None (100003001)

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

0reactions
SergiiMcommented, Oct 1, 2020

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found