Hello!
I have a POS android with integrate barcode scanner. It has preinstalled barcode app with BARCODE SERVICE in the background. Every time when I press trigger (hardware button), I turn barcode scanner ON.
Now i found solution to turn on barcode scanner with button in my app with this function
Broadcast.sendBroadcast("com.hampoo.barcodescanner")
And now i want to receive scanned barcode. Is it possible ?
This is log from Eclipse LogCat.
From this text i found solution to turn scanner on with software button
08-27 01:58:54.205: E/(544): gomtel sendBroadcast com.hampoo.barcodescanner
But, is it possible to receive barcode from this LogCat text.
08-27 01:58:54.591: E/(10588): gomtel BarcodeScannerService onReceive mResult = 8606004250179
Thanks.
I have a POS android with integrate barcode scanner. It has preinstalled barcode app with BARCODE SERVICE in the background. Every time when I press trigger (hardware button), I turn barcode scanner ON.
Now i found solution to turn on barcode scanner with button in my app with this function
Broadcast.sendBroadcast("com.hampoo.barcodescanner")
And now i want to receive scanned barcode. Is it possible ?
This is log from Eclipse LogCat.
From this text i found solution to turn scanner on with software button
08-27 01:58:54.205: E/(544): gomtel sendBroadcast com.hampoo.barcodescanner
But, is it possible to receive barcode from this LogCat text.
08-27 01:58:54.591: E/(10588): gomtel BarcodeScannerService onReceive mResult = 8606004250179
Thanks.