- For the automatic zoom feature I suggest you disable 'EnableZoom' which is found in Config.xml: Config.xml Reference - Zebra Technologies TechDocs
- To disable the on-screen keyboard use the SIP method 'disableAllIME()' Sip - Zebra Technologies TechDocs
- For zoom in / zoom out via keys, there is a ZoomKey and ZoomOutKey configuration option where you can specify function keys: Config.xml Reference - Zebra Technologies TechDocs . If your device does not have function keys then you should be able to use the KeyCapture API to call the Zoom function directly, this is found under webview and is zoomPage: WebView - Zebra Technologies TechDocs
Hope that helps, I am not on the EB team so somebody from that team may be able to offer a more authoritative answer.
Thank you Darryn for your response.
We already disable EnableZoom (<EnableZoom value="0"/>) in the config.xml however after the second scanning in the same text box, it always zoom-in automatically and pops-up the touch-screen keyboard.
We point the Enterprise Browser to our ERP (JD Edwards). In order to use the APIs (e.g. SIP) we have to modify the JDE file so it will include the corresponding js file (e.g. ebapi-modules.js)?
The PDA has function keys (MC330M). In the config.xml documentation example (<ZoomOutKey value="0x71"/>) states that we should use hexadecimal codes to point to FUnction Keys F1 to F24. Where can find the hexadecimal codes that corresponds to those function keys?
Again, thank you for your time!
That EnableZoom does not prevent the automatic zoom after scanning in the same text box for a second time sounds like it might be an issue. pdth87?
The key code may changes from device model to device model depending on the keyboard driver (I think, my information may be out of date here). Regardless, if you use the KeyCapture API and pass in 'all', the callback you get back will contain the id of the key you pressed. Just be aware that the callback is returning the decimal number.
I followed the KeyCapture API Tutorial however, I couldn't "grab" the trigger flag for the F-Keys.
The TrigCap buttons didn't work. Might was something wrong with my code. Either way, I used the Feature-Demo files and manage to extract the ID for the keys I want.
I also included them into the config.xml and they seem to work just fine:
Now what we want to achieve is to disable automatic zoom when we scan twice on the same text box and to disable the touch screen keyboard.
Using <ResizeOnSIP value="0"/> doesn't seems to work. If we use <DisableAllIME value ="1"/> the touch screen keyboard does not appear but at the same time it disables the barcode scanner as well (correctly).
Can we disable the touch screen keyboard when we are using EB? From the API page it says that we can use the hide method, but it will bring back the keyboard if we click in a text box.