- 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.
1 of 1 people found this helpful
Have all these issue already been sorted out?
First of all,I will suggest to use EB 2.0 beta as your issues/requirements will be handled well there.
For disabling the Keyboard you have 3 options:
1.Use EB 2.0 where keyboard will be disabled but you will be still able to use Datawedge and Hardware keyboard.This is anew feature.
2.Use EB 1.8,Call DisableAllIme to disable the keyboard and get scanned data via Datawedge intent.
3.Use EB 1.8, Set "Virtual Keyboard Show/Hide" option in the device to Hidden. You can do that via MX call. Downside of this is, the software keyboard will be disabled across all your application.
Regarding the Automatic Zoom:
1.Can you please provide a video of the same?
2.Is it only zooming when Keybaord is popping up?
3.Does it happen with all text areas and all barcodes?
4.Does it happen even after you disable the keyboard?
EB should not zoom on DW scanning input.If it does should be an issue or related to the keyboard pop up.
Thank you very much Joydeep for your input.
Can you please point to me from where I can download the 2.0 beta version of the enterprise browser?
From Zebra's download page I can only see version 1.8
Thank you very much for your time.
Please contact Enterprise Browser Product Manager or inbox me.