pejmannikravan
Member
hi dears,
I made this class for testing:
Now I want to call and use this class with javaobject library:
But I get the following error:
I made this class for testing:
B4X:
#if java
public class thisTest{
public thisTest(){
}
}
#End If
Now I want to call and use this class with javaobject library:
B4X:
Dim j2 As JavaObject=Me
j2.InitializeNewInstance(Application.PackageName & "." & "thistest",Array(Null))
But I get the following error:
java.lang.ClassNotFoundException: b4a$example$thistest
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:453)
at anywheresoftware.b4j.object.JavaObject.getCorrectClassName(JavaObject.java:274)