Playing audio on Android native
My audio files does not play on android v2.3.3. I guess as I am using local audio files there is some issue.
My audio files are in the sdk/resources/data/audio dir. To play the audio files I am detecting the environment & prefixing the url with: 'file:///android_asset/www/' but to no avail.
Can someone help?
In the DDMS - getting mediaPlayer error after StageFrightPlayer setdatasource
I am getting an audio playing issue for my app built in sencha 2.1 for api level 10. Mediaplayer errors galore.
In the DDMS the setDataSource is going to:
file:///android_asset/resources/audio/one.mp3 which is correct.
Straight after the setdatasource in StageFrightPlayer it gives a MediaPlayer error (1, -2147483648)
so strange. Don't know what else I can try. It works fine in the chrome browser.