I'm writing an android app, that scans barcodes with a zebra rs6000 scanner connected via bluetooth (spp). So far is everything OK, it works.
Now I'm wondering if it's possible to send feedback to the user like different beep-sounds and/or LED colors on the scanner (whether or not the process behind the barcode was successfull).
I know it's possible to configure the scanner beforehand to make different beeps and show different colors scanning "configuration-barcodes", but I need to change these settings from my app. Has anyone an idea?
Any help would be very appreciated!
Got the answer from Zebra Developer Portal:
"Hi, there are APIs to control the RS6000 in the EMDK but I am pretty sure they only apply to a scanner connected in SSI mode. For SPP connected scanners you are limited to the configuration offered by scanning those configuration barcodes"
answered by Darryn Campbell
Related
I have a requirement i should display different UI's if a device has a in build scanner , So far i can know the device model and manifrature name , by using android.os.Build.MANUFACTURER or model etc from hardware information it is not giving if the device has a barcode scanner any idea how can we tweak this in experience & idea would be highly appreciated .
AFAIK, there is nothing in the Android SDK about whether a device has a built-in barcode scanner.
I would like to ask, if it's possible for any app to detect if device has barcode scanner connected? Like Zebra TC26. I want my app to work diffrent when there is hardware connected scanner and when there isn't any.
You can use the DataWedge API - Enumerate Scanners which generates an index of scanners available on the device. You can check that and change the app behaviur based on the results.
Here's the complete list of avaliable DataWedge API's. And just in case you haven't worked with this, here's the main guide.
There are a few questions about using a barcode scanner with Delphi in SO, and if this was a VCL Windows application there would be no drama, but none of the answers seem to work for me. This is also about using an external scanner and not using the devices camera to scan barcodes, as that is also a doddle.
In a VCL app where I couldn't ensure which control has the focus, I would capture all the keys in KeyPreview, and on getting a CR, take the preceding value and check to see if it matches a product barcode.
Unfortunately, Firemonkey forms have no KeyPreview and I can't use the KeyDown event of the FMX form, as it has several controls capable of receiving text input, and if any of them have the focus, the event doesn't fire for the form.
These problems are all based on the scanner being paired as a HID, but as an option on the Motorola CS3070 Bluetooth scanner I am using, there is also a Serial Port Profile mode. It still pairs with the tablet, but not as a keyboard.
But there doesn't seem to be anything in the Android UI to indicate what "serial ports" the tablet has, and even if it did, I don't really have any idea on how to connect to and "listen" to that port inside a Delphi Firemonkey app.
As others have indicated, serial ports in Android are a different beast to Windows, and it looks like Delphi 10.3 Rio has no native support for using them.
What other options are there?
EDIT:
Looking at the Zebra website, which sell a re-branded CS3070, there is an Android SDK for their scanners, although sadly not for the CS3070 but they do have one for the CS4070. In the documentation they talk about connecting using BlueTooth or SNAPI (which I believe is the USB/serial mode), and also about subscribing to the scanner events.
Is this something we can do from FireMonkey without an SDK?
most of barcode reader in android has an SDK driver and send data via a Broadcast intent.
you should check in settings form if there's some info about it or inside the SDK. You just need the activity and category name and some extra info inside intent.
I need to read barcode using RS507 Ring scanner and display the results on my application present on Motorola TC55 with Bluetooth connection establishment. I'm able to pair RS507 Ring scanner to TC55 via Bluetooth connection and read barcode using EMDK library. But there is limitation that I cannot use this approach for Android Jellybean devices. So I need to use Native Android API's for RS507 Ring scanner Bluetooth connection with Motorola TC55 device and scan barcodes from Ring scanner. I'm trying to search a lot on internet for any such alternative approach or functionality, but no luck. Can somebody please help me on this? Kindly reply.
As explained on TC55 User Manual, available on Zebra Technologies[1] support website, you need to put the RS507 in HID mode to be able to use it with Zebra's TC55.
BTW TC55 can be upgraded to KitKat, so that is probably the best option.
[1] Zebra Technologies acquired the enterprise business of Motorola Solutions in 2014.
I was wondering if it is possible to use a QR code scanning to set up a VPN connection on an Android device (in a similar way that is used with Wi-Fi connection) and if yes, how do you generate such a QR code?
I am working on Vuzix's M100 Smart glasses and I'd like to find if there is any way simpler way to set up a VPN.