D
Deleted member 103
Guest
Hi,
what does this error message?
My Code:
Java-Code:
what does this error message?
Compiling code. 0.00
Generating R file. 0.00
Compiling generated Java code. Error
javac 1.6.0_20
src\fg\test1\main.java:170: cannot find symbol
symbol : class test
location: class fg.test1.main
test _testlib = null;
^
1 error
My Code:
B4X:
'Activity module
Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
End Sub
Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
End Sub
Sub Activity_Create(FirstTime As Boolean)
Dim testlib As test
Log("testlib.Width=" & testlib.Width)
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub
Java-Code:
B4X:
import anywheresoftware.b4a.BA.Author;
import anywheresoftware.b4a.BA.ShortName;
import anywheresoftware.b4a.BA.Version;
@ShortName("test")
@Version(1.0f)
@Author("Filippo")
/**
* My Comment.
*/
public class test {
int var1;
public test(){
var1=0;
}
public int getWidth() {
return var1;
}
public void setWidth(int value) {
var1=value;
}
}