Barcode scanner emulation

makis_best

Well-Known Member
Licensed User
Longtime User
Hi.

I want to create one Android application that emulate the use of Barcode Scanners.
Transform Android phone into a Windows WiFi barcode scanner.
Emulate keyboard and pass escape characters.
Send barcodes to any Windows application as keyboard inputs.
Also the need to work as a keyboard to any windows application.
I understand need to use B4A and B4J to manage it.

Any idea how to work on that project.
Any walkthrough advise?

Thank you.
 

ilan

Expert
Licensed User
Longtime User
you can use AsyncStreams to send data between phone and pc via wifi connection.
the rest simple:

create app that can read qr barcode via camera (many examples in the forum)
after barcode has been scanned send data via AsyncStreams (example here)

 

makis_best

Well-Known Member
Licensed User
Longtime User
Thank you @ilan I follow the example you send me.

My biggest problem is how to emulate keyboard on any application.
Cuz the most important is to have the result on application
 

ilan

Expert
Licensed User
Longtime User
My biggest problem is how to emulate keyboard on any application.
what exactly do you want to do?
why do you want to emulate the keyboard?
do you want to control another application from your b4j app?
 

ilan

Expert
Licensed User
Longtime User
i wrote long time ago (5 years) a NES game pad emulator that is installed on an android device and send commands to a b4j server that performs keyboard presses emulations.

you may have a look at it, i think this is what you are looking for:
 

TILogistic

Expert
Licensed User
Longtime User
or
use this idea to send the digital signature and client data to a server or PC
 
Top