Jump to content

  • Log In with Google      Sign In   
  • Create Account

#ActualCornstalks

Posted 29 November 2012 - 10:47 PM

You're missing an s on your path, I believe. Try "file:///android_assets/". Nevermind. The Internets seem to be conflicting on this, with some sites saying "file:///android_asset/" and some saying "file:///android_assets/". So far, I've only seen WebView use that path, so it's possible the AsyncPlayer doesn't work with that path. [Edit again: I asked about this path on StackOverflow (there are more Android devs there), for the curious]

If that doesn't work, seriously consider using the MediaPlayer. AFAIK, it doesn't load the entire audio clip into memory, and can stream.

#2Cornstalks

Posted 29 November 2012 - 10:11 PM

You're missing an s on your path, I believe. Try "file:///android_assets/". Nevermind. The Internets seem to be conflicting on this, with some sites saying "file:///android_asset/" and some saying "file:///android_assets/". So far, I've only seen WebView use that path, so it's possible the AsyncPlayer doesn't work with that path.

If that doesn't work, seriously consider using the MediaPlayer. AFAIK, it doesn't load the entire audio clip into memory, and can stream.

#1Cornstalks

Posted 29 November 2012 - 10:04 PM

You're missing an s on your path, I believe. Try "file:///android_assets/".

If that doesn't work, seriously consider using the MediaPlayer. AFAIK, it doesn't load the entire audio clip into memory, and can stream.

PARTNERS