android - Phonegap Media API trying to access audio locally -


I am currently working on an app that has to play audio from an external source in .AMR file format but can give it the URL and log cat trying to reach the logging of seeing I know it must have:

  FAILED Rename / storage / SD card 0 / Temprekording 3 GP / Storage /sdcard0/http://URL/audio.amr  

Here is my player code

  function play (source) {var me Dia = new media (source, played, unsuccessful); Media.play (); Document.getElementById ('Status'). InnerHTML = "game"; }  

A URL has been given to a function with the function connected to it and a URL. I'm testing it on Android

Thanks!

No matter, it was an issue with the formats, MAR is an incompatible format, so it works Does not


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -