This is my first post here, I want to first say thank you to the developers for de-obfuscating Java. In the month I've spent trying to make heads or tails of it and trying to figure out why they designed it as they did and and trying to figure out the flow of execution .... I've found myself thinking that in order to get my little program written it might be easier for me to do something like what you've done. Now that I've found you and spent some time playing with B4A, you have my sincere thanks.
I bought a Nextbook 8 http://www.nextbookusa.com/productdetail.php?product_id=16
for the purpose of writing a program that will include some custom graphics.
On attempting to run the demo included with the OpenGL 2.0 library, I see some errors in logcat and the image doesn't render. There are some warnings in the compiler warning box on the logs tab;
Undeclared variable 'glerr'
Unused variable 'coords'
Sub 'QueuTest' not used
Sub 'QueutestGUI' not used
Sub 'ShowGLError' not used
Sub 'ShowOglImage' not used
The things I did to try to get it working;
Added the Threads library--
Included the 'main' file as instructed by the compiler warning box --
Added a line to the manifest requiring OpenGL ES 2 as described in the other thread about this library --
Uncommented the DebugFlags line in the program to see if I could find out more about what is going on.
Here is a logcat excerpt:
Any clues you can give this clueless newbie will be much appreciated.
Thanks,
--John--
I bought a Nextbook 8 http://www.nextbookusa.com/productdetail.php?product_id=16
for the purpose of writing a program that will include some custom graphics.
On attempting to run the demo included with the OpenGL 2.0 library, I see some errors in logcat and the image doesn't render. There are some warnings in the compiler warning box on the logs tab;
Undeclared variable 'glerr'
Unused variable 'coords'
Sub 'QueuTest' not used
Sub 'QueutestGUI' not used
Sub 'ShowGLError' not used
Sub 'ShowOglImage' not used
The things I did to try to get it working;
Added the Threads library--
Included the 'main' file as instructed by the compiler warning box --
Added a line to the manifest requiring OpenGL ES 2 as described in the other thread about this library --
Uncommented the DebugFlags line in the program to see if I could find out more about what is going on.
Here is a logcat excerpt:
B4X:
>>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
CheckJNI is OFF
Trying to load lib libjavacore.so 0x0
Added shared lib libjavacore.so 0x0
Trying to load lib libnativehelper.so 0x0
Added shared lib libnativehelper.so 0x0
Loading ethernet jni class
Calling main entry com.android.commands.am.Am
START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=anywheresoftware.b4a.agraham.opengl2demo/.main u=0} from pid 26004
Shutting down VM
NOTE: attach of thread 'Binder_3' failed
GC_CONCURRENT freed 99K, 82% free 484K/2560K, paused 1ms+0ms, total 7ms
Turning on JNI app bug workarounds for target SDK version 4...
Start proc anywheresoftware.b4a.agraham.opengl2demo for activity anywheresoftware.b4a.agraham.opengl2demo/.main: pid=26015 uid=10080 gids={1028}
error opening trace file: No such file or directory (2)
setLightsOn(true)
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
loaded /system/lib/egl/libEGL_mali.so
loaded /system/lib/egl/libGLESv1_CM_mali.so
loaded /system/lib/egl/libGLESv2_mali.so
Note: class Landroid/opengl/GLWrapperBase; has 250 unimplemented (abstract) methods
Displayed anywheresoftware.b4a.agraham.opengl2demo/.main: +348ms
glGetString(7937) returns Mali-400 MP;
Created
Changed
glFrustumf(-0.66971797, 0.66971797, -0.41421357, 0.41421357, 1.0, 100.0);
called unimplemented OpenGL ES API
Permission denied: checkComponentPermission() owningUid=10005
Permission denied: checkComponentPermission() owningUid=10005
Permission denied: checkComponentPermission() owningUid=10005
Permission denied: checkComponentPermission() owningUid=10005
Permission denied: checkComponentPermission() owningUid=10005
Permission denied: checkComponentPermission() owningUid=10005
Permission denied: checkComponentPermission() owningUid=10005
Permission denied: checkComponentPermission() owningUid=10005
Permission denied: checkComponentPermission() owningUid=10005
Permission denied: checkComponentPermission() owningUid=10005
GC_CONCURRENT freed 603K, 9% free 7496K/8199K, paused 15ms+4ms, total 55ms
GC_FOR_ALLOC freed 166K, 4% free 6095K/6343K, paused 42ms, total 43ms
Grow heap (frag case) to 7.379MB for 1459216-byte allocation
Any clues you can give this clueless newbie will be much appreciated.
Thanks,
--John--