We are currently working on a till system based on Flex. We would like to add support for scanning barcodes via a bluetooth barcode scanner.
The scanner itself actually works as a replacement of the nativ Ipad keyboard. So basically: if I scan a barcode, the scanner will send the number as a keyboard input to the device.
We then tried to listen for keyboard events in the application, namely the KeyboardEvent.KEY_DOWN or the TextEvent.TEXT_INPUT the Ipad did not trigger with any of these events.
We tried the exact same application on a Samsung Galaxy Tab and it worked just fine.
We tried to find useful information on the internet concerning Keyboardevents on the Ipad, but didnt succeed in doing so.
Perhaps it might be a problem with how the Ipad interpretes keyboard inputs. (We couldnt find anything really useful in the API documentation either).
So if anyone has a similar problem or found a workaround, we would be very thankful.
Thanks in advance for your help.
Sorry I don't have any direct experience with the issue, but if it helps at all, one of the new features in the StageText implementation (Flex 4.6) is the support of "custom keyboard types."
According to this page: http://help.adobe.com/en_US/flex/mobileapps/WS82181550ec4a666a39bafe0312d9a274c00-8000.htm l
Are you using this new functionality to handle the keyboard events, or are you still using the software-level API?
Also, if I remember correctly, there are some iOS specific hooks in the TextInputSkin for mobile apps. I believe they were related to keyboard functionality, and may be worth taking a look at to see if there is something extra you need to do to hook into the iOS keyboard events.