It looks like you're new here. If you want to get involved, click one of these buttons!
07-04 14:27:57.969: E/AndroidRuntime(22257): FATAL EXCEPTION: GLThread 14
07-04 14:27:57.969: E/AndroidRuntime(22257): java.lang.CloneNotSupportedException: Class doesn't implement Cloneable
07-04 14:27:57.969: E/AndroidRuntime(22257): at java.lang.Object.clone(Object.java:155)
07-04 14:27:57.969: E/AndroidRuntime(22257): at com.giderosmobile.android.player.JavaNativeBridge.nativeDrawFrame(Native Method)
07-04 14:27:57.969: E/AndroidRuntime(22257): at com.giderosmobile.android.player.JavaNativeBridge.onDrawFrame(JavaNativeBridge.java:341)
07-04 14:27:57.969: E/AndroidRuntime(22257): at com.giderosmobile.android.GiderosRenderer.onDrawFrame(PlayerActivity.java:211)
07-04 14:27:57.969: E/AndroidRuntime(22257): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1388)
07-04 14:27:57.969: E/AndroidRuntime(22257): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1138)
Render to texture is something that a couple of developers have been very vocal on and as such it will probably become a reality in a later release but nobody knows when.
#MakeABetterGame! "Never give up, Never NEVER give up!" - Winston Churchill
l guess the ideal implementation is not possible for now..
I think I can use Android VideoView just like this tutorial (http://appcodingeasy.com/Gideros-Mobile/Gideros-Implementing-AdMob-for-Android)
Wish me luck..
I have successfuly play a video on gideros player using VideoView
The next problem is:
How to get JNIEnv in my plugin code?
As far as I know, I need JNIEnv to call Java method from C/C++
You may find this discussion interesting as it does mention how to get a hold of the JavaVM--and thus in turn call native functions from the plugin.
Do lets us know how it works for you
If I get a chance I was going to try and put together an example of Android Plugin Programming, since iOS seems to be getting most of the love at the moment--like droid more myself, currently my interest is in kiip.me working but I am guessing the JavaVM could be used for all sorts of things
Make sure you change the value of LOCAL_SRC_FILES in Android.mk to match your environment
to show the video use..
I got the audio played but no video. I suspect this issue is related with Giredos' renderer. So, I have mGLView removed before add VideoView to the layout. This trick fix the issue.
It works fine before but it doesn't work recently . The player is crash whenever I call video.play().
You need to update line number 32 in video.cpp to the following and it should work:
Notes: (I found out the issue isn't new some other people have been running into it as well, here is a guy that posted the answer: https://groups.google.com/group/android-ndk/tree/browse_frm/thread/71ac843f9ec586c7/f308bfcc23c10645?_done=/group/android-ndk/browse_frm/thread/71ac843f9ec586c7/f308bfcc23c10645?tvc=1&&tvc=1&pli=1)
I think you can