I have a servlet based web application which provides web pages for Motorola RF Barcode Scanners which are running on a customer site and they are still using Symbol Pocket Browser rather then the more up to date Enterprise Browser. I don't have any control over that.
The application has worked fine for many years as it has only had to scan a single string which is a 20 digit numeric string using EAN128 barcode rules.
I use meta commands in the html so that when the user scans data the decoded values are entered in the active input box on screen and then an auto-enter is performed. All that works fine.
I now need to scan a more complex EAN-128 barcode which has multiple application identifiers in it and most importantly one of the fields is variable length and is terminated by a FNC1 character. When SPB scans this barcode the data is returned without any field delimiter and as such its not possible to decode the data properly.
All I can find online now is documentation for RhoElements and the latest Enterprise Browser and I don't see a way to read the data without losing the important delimited.
I think it may be possible to have it run some javascript when data is decoded and maybe save the data in a session variable which my servlet can access - but I'm working blind.
Has anyone come across this scenario and can provide either sample html/javascript which works or maybe a link to SPB documentation (programming guide)?