Hi,
My project requires to read data from a serial (uart) port. (not bluetooth)
I have created a small project in eclipse, for android 2.2 (API 8) that works fine.
I have now converted/exported this to an external library .jar /.xml for b4a, this works quite well and i can access functions within the external library.
But the problems occur when i try to load the libserial_port.so "serial_port" in the library.
static {
System.loadLibrary("serial_port");
}
In B4A logs when trying to run the application i get
java.lang.UnsatisfiedLinkError: Couldn't load serial_port: findLibrary returned null
1) I have copied the libseral_port.so to the File.DirInternal
2) Also copied to /system/lib folder
Any help or suggestions you may offer will be greatly appreciated.
Best Regards
Lee.
My project requires to read data from a serial (uart) port. (not bluetooth)
I have created a small project in eclipse, for android 2.2 (API 8) that works fine.
I have now converted/exported this to an external library .jar /.xml for b4a, this works quite well and i can access functions within the external library.
But the problems occur when i try to load the libserial_port.so "serial_port" in the library.
static {
System.loadLibrary("serial_port");
}
In B4A logs when trying to run the application i get
java.lang.UnsatisfiedLinkError: Couldn't load serial_port: findLibrary returned null
1) I have copied the libseral_port.so to the File.DirInternal
2) Also copied to /system/lib folder
Any help or suggestions you may offer will be greatly appreciated.
Best Regards
Lee.