Exception caught while playing audio
Hi Team,
I am trying to play audio when my condition becomes true using Sound.create(_sound).play(). here _sound pointing the path where the audio available. but when it tries to play the sound caught below exception.
_soundTapAction= audio path.
[_soundTapAction] could not be converted to a URL: java.net.MalformedURLException: no protocol: _soundTapAction :: dtv.util.config.UrlConfig.makeURLImpl(UrlConfig.java:54) [SoundFileLoadThread(_soundTapAction)]
CAUGHT EXCEPTION :: dtv.hardware.audio.FileSound$1.run(FileSound.java:75) [SoundFileLoadThread(_soundTapAction)]
java.lang.NullPointerException
having any idea on resolving this?