Thanks agraham for the reply. This is the entire .java class
The error occurs on the last line. "public String"
package android.net.sip.sipErrorCode;
import anywheresoftware.b4a.BA;
import anywheresoftware.b4a.BA.Author;
import anywheresoftware.b4a.BA.DependsOn;
import anywheresoftware.b4a.BA.ShortName;
import anywheresoftware.b4a.BA.Version;
import android.net.sip.*;
@ShortName("SipErrorCode")
@Author("giga")
@Version(1.0f)
@DependsOn(values = { "android-9" })
public class SipErrorCode {
private BA ba;
private String eventName;
private SipErrorCode siperrorcode;
public void Initialize(final BA ba, String EventName) {
this.ba = ba;
this.eventName = EventName.toLowerCase(BA.cul);
this.siperrorcode = new SipErrorCode();
}
public SipErrorCode getSipErrorCode() {
return this.siperrorcode;
}
public void setSipErrorCode(SipErrorCode siperrorcode) {
this.siperrorcode = siperrorcode;
}
public String toString(int arg0){
return this.siperrorcode.toString(int arg0)
}
}