I have an external jar for a bluetooth card reader. I would like to get that into a small B4A test app.
I have downloaded an example Bluetooth app from the site called BTPrint and that sees the bluetooth device fine so using that code I know the device is detectable using B4A.
Now I want to add in the device .jar file and start communicating with the device. I have a demo Eclipse app that cane with the device and shows the usage of the library.
I am having trouble with adding the .jar into a B4A app. I do know the process should use #AdditionalJar and JavaObject but I am missing how to talk to the various functions.
So in summary what I am hoping you can help me with is ;
a) add the jar file into a simple B4A app so that it works. Using the BTPrint might make sense as a basic frame.
b) do an initialize of the device
c) use one of the commands that sends a Beep to the device just so it is talking Ok.
Limited funds
Appreciate any feedback,
cheers
Harry (63)
(Australia)
I have downloaded an example Bluetooth app from the site called BTPrint and that sees the bluetooth device fine so using that code I know the device is detectable using B4A.
Now I want to add in the device .jar file and start communicating with the device. I have a demo Eclipse app that cane with the device and shows the usage of the library.
I am having trouble with adding the .jar into a B4A app. I do know the process should use #AdditionalJar and JavaObject but I am missing how to talk to the various functions.
So in summary what I am hoping you can help me with is ;
a) add the jar file into a simple B4A app so that it works. Using the BTPrint might make sense as a basic frame.
b) do an initialize of the device
c) use one of the commands that sends a Beep to the device just so it is talking Ok.
Limited funds
Appreciate any feedback,
cheers
Harry (63)
(Australia)