Dear Friends
We have developed Custom FIORI App with Bar-code Scanning functionality using SAP Web IDE/HAT and able to deploy and test it in the emulator(Android). Now, we are trying to test it on the actual Android Mobile device(Tablet), we have the UI screen Input field(PO Number) and a button ‘Camera’, when we hit the button it triggers the Camera and Bar-code scanner is on with red beam and reads the Bar-code but the value is NOT getting transmitted to the screen field. For testing/tracing, we have put the ALERT message statement after reading the bar-code which works fine, getting alert message on the mobile device but NOT getting the value into the screen field.
There is one more issue, the App reads only certain type of Bar-codes but not all. Is there any value(bar-code type) need to pass as a parameter when we call Bar-code Scanning logic?
Please let me know what is missing and we else needs to be implemented as part of the logic.
Below is the source code for UI field…
Below is the function call for bar-code scanning...
As always, your input/help is highly appreciated and thank you in advance.
Regards
Ashok.