Hello Erel, or anyone else who has more experience with B4J, i'm playing around with B4J and the capabilities of it, I was trying to make my Graphview Library work with it, but i came a cross an error message, from what i understand is that there's a required class not found and it makes sense since B4J is not android based, but i was wondering if there's a way to make it work, obviously i have no idea where to start, so i'm asking for some help, my graphview library can be found here http://www.b4x.com/android/forum/threads/graphview-library.34995/#content and below is the error i get when i try to launch the project, any help with this will be greatly appreciated.
thanks,
Walter
java.lang.ExceptionInInitializerError
Caused by: java.lang.RuntimeException: java.lang.NoClassDefFoundError: android/widget/LinearLayout
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:111)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:69)
at com.genesis.b4jgraphview.main.<clinit>(main.java:14)
Caused by: java.lang.NoClassDefFoundError: android/widget/LinearLayout
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:188)
at anywheresoftware.b4a.shell.Shell.getCorrectClassName(Shell.java:361)
at anywheresoftware.b4a.shell.Shell.createObject(Shell.java:348)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:227)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:153)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:92)
... 2 more
Caused by: java.lang.ClassNotFoundException: android.widget.LinearLayout
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 25 more
Exception in thread "main"
thanks,
Walter