Hi, I'm doing a software sales for a POS.
This POS consists of several components: a tablet, a printer, a rear display, etc.
All software supplied by the manufacturer (drivers, libraries, etc..) Is written in java.
In the android system, in the "lib" directory is: libAclasArmPos.so
The manufacturer gives a demo where I can find, among others, the following:
printer.java
drawer.java
rfid.java
etc.
There are demos as:
AclasDrawerActrivity.java
AclasPrinterActivity.java
AclasRfidActivity.java
etc.
And classes, including:
printer.class
drawer.class
rfid.class
etc.
For example, printer.java is:
package aclasdriver;
public class printer {
public native int Open();
public native void Close();
public native int Write(byte[] wrbuf);
public native byte[] Read(int getlen);
public native int SetContrast(int contrast);
public native int Feed(int setp);
public native int Stop();
public native int Conitnue();
public native int GetDotWidth();
public native int SetPrintMode(int Mode); //
public native boolean IsPaperExist();
static {
System.loadLibrary("AclasArmPos");
}
}
I do not know the java language and so my question:
Is it possible to use libAclasArmPos.so or how can I get that code with B4A?
Thank you very much and regards.