[
https://issues.apache.org/jira/browse/CB-6003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13897516#comment-13897516
]
cesine commented on CB-6003:
----------------------------
Here is the log cat
{code}
02-10 23:09:57.671: I/CordovaLog(29998): Changing log level to DEBUG(3)
02-10 23:09:57.691: I/CordovaLog(29998): Found start page location: index.html
02-10 23:09:57.691: D/Whitelist(29998): Unlimited access to network resources
02-10 23:09:57.691: D/CordovaActivity(29998): CordovaActivity.onCreate()
02-10 23:09:57.701: I/dalvikvm(29998): Could not find method
org.apache.cordova.CordovaWebView.setWebContentsDebuggingEnabled, referenced
from method org.apache.cordova.CordovaWebView.setup
02-10 23:09:57.701: W/dalvikvm(29998): VFY: unable to resolve static method
2056: Lorg/apache/cordova/CordovaWebView;.setWebContentsDebuggingEnabled (Z)V
02-10 23:09:57.701: D/dalvikvm(29998): VFY: replacing opcode 0x71 at 0x00be
02-10 23:09:57.751: D/CordovaWebView(29998): CordovaWebView is running on
device made by: asus
02-10 23:09:57.751: D/JsMessageQueue(29998): Set native->JS mode to 2
02-10 23:09:57.751: D/CordovaActivity(29998): CordovaActivity.init()
02-10 23:09:57.761: D/CordovaWebView(29998): >>>
loadUrl(file:///android_asset/www/index.html)
02-10 23:09:57.761: D/PluginManager(29998): init()
02-10 23:09:57.761: D/CordovaWebView(29998): >>> loadUrlNow()
02-10 23:09:57.771: I/CordovaLog(29998): Changing log level to DEBUG(3)
02-10 23:09:57.771: I/CordovaLog(29998): Found start page location: index.html
02-10 23:09:57.771: D/Whitelist(29998): Unlimited access to network resources
02-10 23:09:57.771: D/CordovaActivity(29998): Resuming the App
02-10 23:09:57.771: D/CordovaActivity(29998): CB-3064: The errorUrl is null
02-10 23:09:57.801: D/SoftKeyboardDetect(29998): Ignore this event
02-10 23:09:57.841: D/libEGL(29998): loaded
/vendor/lib/egl/libEGL_POWERVR_SGX544_115.so
02-10 23:09:57.881: D/libEGL(29998): loaded
/vendor/lib/egl/libGLESv1_CM_POWERVR_SGX544_115.so
02-10 23:09:57.881: D/libEGL(29998): loaded
/vendor/lib/egl/libGLESv2_POWERVR_SGX544_115.so
02-10 23:09:57.891: E/IMGSRV(29998): :0: PVRDRMOpen: TP3, ret = 64
02-10 23:09:57.891: E/IMGSRV(29998): :0: PVRDRMOpen: TP3, ret = 65
02-10 23:09:57.891: E/IMGSRV(29998): :0: PVRDRMOpen: TP3, ret = 66
02-10 23:09:57.891: E/IMGSRV(29998): :0: PVRDRMOpen: TP3, ret = 66
02-10 23:09:57.891: E/IMGSRV(29998): :0: PVRDRMOpen: TP3, ret = 66
02-10 23:09:57.911: E/IMGSRV(29998): :0: PVRDRMOpen: TP3, ret = 68
02-10 23:09:57.941: D/OpenGLRenderer(29998): Enabling debug mode 0
02-10 23:09:57.981: D/CordovaActivity(29998):
onMessage(onPageStarted,file:///android_asset/www/index.html)
02-10 23:09:57.991: D/CordovaWebViewClient(29998):
onPageFinished(file:///android_asset/www/index.html)
02-10 23:09:57.991: D/CordovaActivity(29998):
onMessage(onPageFinished,file:///android_asset/www/index.html)
02-10 23:09:58.001: D/SoftKeyboardDetect(29998): Ignore this event
02-10 23:09:58.021: D/CordovaActivity(29998): onMessage(spinner,stop)
02-10 23:09:58.031: D/SoftKeyboardDetect(29998): Ignore this event
02-10 23:09:58.041: E/MediaPlayer(29998): error (1, -2147483648)
{code}
> Cant play files from the assets folder Android
> ----------------------------------------------
>
> Key: CB-6003
> URL: https://issues.apache.org/jira/browse/CB-6003
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Media
> Environment: Android
> Reporter: cesine
> Labels: audio
>
> I've been trying to pin this down.
> I think this commit brings me to conclude something is odd with playing audio
> from assets on android.
> https://github.com/cesine/TestingCordovaAudio/commit/9556fd523f68c6ec2f4659b9476f3e39a3199c33
> The same audio file plays fine
> * if its played from a http:// url
> * if its played in Native Android
> Tested with Android 4.3, I would be ecstatic if it was just my tablet but I
> dont have any others to test with right now...
> {code}
> $ cordova --version
> 3.3.1-0.1.2
> {code}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)