We are using Unitech PA700 , we want to use Barcode. But unitech only provide Java class.
Could anybody help to me to use that in B4A?.
1.1. Enable/Disable scanner
Intent intent = new Intent();
intent.setAction("unitech.scanservice.scan2key_setting");
intent.putExtra("scan2key", true);
sendBroadcast(intent); 1.2. Receive scanned data
String SSI_param_data = "";
Intent sendIntent = new Intent("unitech.scanservice.data");
sendIntent.putExtra("text", SSI_param_data);
sendBroadcast(sendIntent); 1.3. Programming example
Programming Source-code example is available as “keypad-test” at https://portal.unitech.eu/Files/Technical/PA700Scanner(key)Test_1.0.zip
We have received the Unitech PA700 and we tested the code . But does nothing .
In theory this code, turn on the barcode reader and scan a code , but does not turn on the reader.
We do not know if some library is missing or is not communicating with the service thats run (scanservice).
We are totally lost . They can help us ?
Thank you
We decompile the test program. with it we turn on the reader and reads the barcode , but we do not see, nowhere to enter the library to use.
Sorry for my english.
There is no library which is used... The demo app is sending out broatcasts (see MainActivity.java). And the scanner will return the data with sending a broadcast too (see UnitechReciever.java).
You need to use an Broadcast-reciever to recieve the data.