I have been testing making libraries for B4A and B4J.
I am trying this code but receiving the following errors.
The value of the field GetName.ba is not used
The value of the field GetName.eventName is not used
private BA ba;
private String eventName;
Any guidance would be appreciated.
I am trying this code but receiving the following errors.
The value of the field GetName.ba is not used
The value of the field GetName.eventName is not used
private BA ba;
private String eventName;
Any guidance would be appreciated.
B4X:
package com.get.testname;
import anywheresoftware.b4a.BA;
import java.net.InetAddress;
import anywheresoftware.b4a.BA.ActivityObject;
import anywheresoftware.b4a.BA.Author;
import anywheresoftware.b4a.BA.DependsOn;
import anywheresoftware.b4a.BA.ShortName;
import anywheresoftware.b4a.BA.Version;
@ShortName("GetName")
@Author("giga")
@Version(1.0f)
@ActivityObject
@DependsOn(values = { "GetName" })
/**
* Created with Basic4Android Library Generator - by XverhelstX
*/
public class GetName{
private BA ba;
private String eventName;
private GetName getname;
public void Initialize(final BA ba, String EventName) {
EventName.toLowerCase(BA.cul);
this.getname = new GetName();
}
public GetName getGetName() {
return this.getname;
}
public void setGetName(GetName getname) {
this.getname = getname;
}
public byte getaddress() {
return this.getname.getaddress();
}
public String getHostAddress() {
return this.getname.getHostAddress();
}
public String getHostName() {
return this.getname.getHostName();
}
public InetAddress getAllByName() {
return this.getname.getAllByName();
}
public InetAddress getByName() {
return this.getname.getByName();
}
public InetAddress getLocalHost() {
return this.getname.getLocalHost();
}
}