I see now. You don't need this import line at all.
You can use a Java editor such as Eclipse to write the wrapper code. It is easier. You can still build the jar / xml with SLC.
You mean i must use eclipse or i can use another text editor?
I removed the line and now i have the below:
package anywheresoftware.b4a.objects;
import anywheresoftware.b4a.BA;
import anywheresoftware.b4a.BA.ActivityObject;
import anywheresoftware.b4a.BA.DependsOn;
import anywheresoftware.b4a.BA.Permissions;
import anywheresoftware.b4a.BA.ShortName;
import anywheresoftware.b4a.BA.Version;
@Version(1.0f)
@Permissions(values={"android.permission.INTERNET"})
@ShortName("PRTAndroidPrint")
@DependsOn(values={"PRTAndroidPrint"})
@ActivityObject
public class MPTII {
public void PRTConnectDevice(String PrintName) {
PRTAndroidPrint.PRTConnectDevice(PrintName);
}
public void PRTFeedLines(int iNum) {
PRTAndroidPrint.PRTFeedLines(iNum);
}
}
I get the error below:
Starting step: Compiling Java code.
javac 1.6.0_26
C:\VS\BAS4AND\SimpleLibraryCompiler\MPTII\src\anywheresoftware\b4a\objects\MPTII.java:19: cannot find symbol
symbol : variable PRTAndroidPrint
location: class anywheresoftware.b4a.objects.MPTII
PRTAndroidPrint.PRTConnectDevice(PrintName);
^
1 error
Error.