You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for working on this plugin, but I'm having trouble getting it to work. This is my first time fiddling with phonegap plugins so I could be spitting nonsense.
Anyway I get a "Error calling method on NPObject" on line 855 of cordova-2.5.0.js which is in the function androidExec().
Someone on the phonegap google groups said that NPObject errors can be Java errors that bubble up to the javascript that then doesn't know what to do with. So I looked in the VideoPlayer.java and Eclipse gave me a warning on line 112:
FileOutputStream out = this.cordova.getActivity().openFileOutput(fileTo, Context.MODE_WORLD_READABLE);
Googling that is where I found that the constant, MODE_WORLD_READABLE was deprecated in API Level 17.
Since videos are initially saved using this constant, could that be why I can't get the player running in my environment? Anything about that make sense or am I just complicating a simple issue?
The text was updated successfully, but these errors were encountered:
I'm having the same issue here. Gonna be digging into it starting now and ending whenever it's solved, so if either of you are around and feel like joining forces, I'll have an eye on this thread.
Build targets -- 4.2 / Android 17 / corodova-2.5.0
Hardware -- Motorola Droid X, Android version 2.3.4, system version 4.5.1
Thanks for working on this plugin, but I'm having trouble getting it to work. This is my first time fiddling with phonegap plugins so I could be spitting nonsense.
Anyway I get a "Error calling method on NPObject" on line 855 of cordova-2.5.0.js which is in the function androidExec().
Someone on the phonegap google groups said that NPObject errors can be Java errors that bubble up to the javascript that then doesn't know what to do with. So I looked in the VideoPlayer.java and Eclipse gave me a warning on line 112:
FileOutputStream out = this.cordova.getActivity().openFileOutput(fileTo, Context.MODE_WORLD_READABLE);
Googling that is where I found that the constant, MODE_WORLD_READABLE was deprecated in API Level 17.
Since videos are initially saved using this constant, could that be why I can't get the player running in my environment? Anything about that make sense or am I just complicating a simple issue?
The text was updated successfully, but these errors were encountered: