Skip to content Skip to sidebar Skip to footer

Here Sdk Navigation Sound Is Not Playing

I have been trying to resolve this issue but it seems the QCMediaPlayer is not present on my phone. I can here the warning tone's of the speed limit, but i cannot hear the turn by

Solution 1:

Generally, the MobileSDK by HERE is using the system TTS engine that's setup on your Android. So please make sure your Android has a TTS engine installed and set (often this is Google TTS, some OEMs don't set a engine like my Sony Z5, or some have another one, like LG with sfplus for example).

Once Android has the TTS capabilities, the flow should look like following on HERE SDK side:

  1. Check the already installed TTS Skins of the HERE SDK:

List localInstalledSkins = VoiceCatalog.getInstance().getLocalVoiceSkins();

If you voice you want is already downloaded locally, jump directly to 4. otherwise continue with next step.

  1. Get the voice catalog from the HERE Servers:

VoiceCatalog.getInstance().downloadCatalog(VoiceCatalog.OnDownloadDoneListener)

In the listener callback you can query the list of available language for download via:

List packages = VoiceCatalog.getInstance().getCatalogList();

  1. Download a VoiceSkin you wanna play:

VoiceCatalog.getInstance().downloadVoice(skin_id_from_catalog_you_want_to_use, VoiceCatalog.OnDownloadDoneListener)

Make sure the listener returns with success before you continue with next steps.

  1. Set the downloaded voice skin for navigation:

NavigationManager.getInstance().setVoiceSkin(VoiceCatalog.getInstance().getLocalVoiceSkin(skin_id_you_want_to_use))

  1. Kick off guidance

You can get my full project source from the HERE servers: http://tcs.ext.here.com/sdk_examples/TtsAndNavigation.zip

Post a Comment for "Here Sdk Navigation Sound Is Not Playing"