You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by vikrant arya <vi...@gmail.com> on 2016/11/03 10:03:45 UTC

Need help

Hi cordova team,

I am implementing a application in which I am running audio file when I am
clicking button.
It is not working on some devices of android.
I saw this error in logcat,

org.sample.hybridandroidapp E/AndroidProtocolHandler: Unable to open asset
URL:
file:///android_asset/www/index.hyperesources/song_file_little_monkeys.mp3
org.sample.hybridandroidapp E/MediaResourceGetter: Unable to read file:
file:///android_asset/www/index.hyperesources/song_file_little_monkeys.mp3

and media error
org.sample.hybridandroidapp E/MediaPlayer[JAVA]: Error (1,-2147483648)


I checked on many forums but didnt get answer.


Regards,

-- 
Vikrant Arya
Lead designer and developer , *SimSam*
p:+91-741-670-0253
a:Gachibowli, Hyderabad,India
w:www.simsam.us <http://www.example.com/>  e:vikrantarya21@gmail.com
<https://www.facebook.com/vikrant.arya.7359>   <https://twitter.com/319899>
   <https://www.linkedin.com/in/vikrant-arya-ab871531>

Re: Need help

Posted by Victor Sosa <so...@gmail.com>.
Hi Vikrant,

This mailing list is used for Cordova development purposes, not Cordova
users support.

My advice is that you use StackOverflow and tag it as cordova and
cordova-android. You'll reach more people who can help there.

Now, quickly for what I can see either the path is wrong or you don't have
the correct permissions. Make sure you have that correctly configured
(again, SO is better source of knowledge).

Cheers!

On Thu, Nov 3, 2016 at 12:26 PM vikrant arya <vi...@gmail.com>
wrote:

> Hi cordova team,
>
> I am implementing a application in which I am running audio file when I am
> clicking button.
> It is not working on some devices of android.
> I saw this error in logcat,
>
> org.sample.hybridandroidapp E/AndroidProtocolHandler: Unable to open asset
> URL:
> file:///android_asset/www/index.hyperesources/song_file_little_monkeys.mp3
> org.sample.hybridandroidapp E/MediaResourceGetter: Unable to read file:
> file:///android_asset/www/index.hyperesources/song_file_little_monkeys.mp3
>
> and media error
> org.sample.hybridandroidapp E/MediaPlayer[JAVA]: Error (1,-2147483648)
>
>
> I checked on many forums but didnt get answer.
>
>
> Regards,
>
> --
> Vikrant Arya
> Lead designer and developer , *SimSam*
> p:+91-741-670-0253
> a:Gachibowli, Hyderabad,India
> w:www.simsam.us <http://www.example.com/>  e:vikrantarya21@gmail.com
> <https://www.facebook.com/vikrant.arya.7359>   <https://twitter.com/319899
> >
>    <https://www.linkedin.com/in/vikrant-arya-ab871531>
>