EB:MC330M - Disable Auto Zoom and On-Screen Touch Keyboard

Hello all,

We are going to upgrade our whole hardware infrastructure by the end of 2018-early 2019 and part of the upgrade was the purchase of several MC330M (Android 7.1.2). The plan is to make the MC330M work with our current services (using a web browser) until the whole project is finish and we transition from using the web browser to using a custom made android application.

Using EB and the config.xml file we manage to make MC330M work with our system however more tweaks are needed.

What we changed so far is:

<Screen>

    <FullScreen value="1"/>

     <PageZoom value="1.8" />

     <EnableZoom value="0"/>

</Screen>

<Engine>

     <EngineInUse value="IE"/>

</Engine>

<General>

        <Name value="Menu"/>

        <StartPage value="URL" name="Services"/>

</General>

<Scanner>

        <DisableScannerDuringNavigation value="0"/>

</Scanner>

<SIP>

     <ResizeOnSIP  value="0"/>

</SIP>

<Navigation>

     ...

     <UserAgent value="Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 6.8)" />

     ...

</Navigation>

and

<usedwforscanning  value="1"/>

From our testing the Engine "AndroidStock" was also working.

The issues we have with this configuration are:

  • If we use the scanner (DW) twice in the same text box, the browser automatic zooms-in too much. If the scanning is done in a different text box, then everything is ok.
  • Also we want to disable the on-screen touch keyboard while using EB and "force" users to use the MC330M's keypad.
  • Finally, since we want to disable auto-zooming, it will be best if we can assign some of the keys in the keypad for zoom-in, zoom-out and default zoom.

Reading through the documentations I think we should include the JS API modules.

Can someone point us to the right direction?

Thank you

Anonymous (not verified)
Hi,For the automatic zoom

Hi,

Hope that helps, I am not on the EB team so somebody from that team may be able to offer a more authoritative answer.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Charalambos Stavrou
Thank you Darryn for your

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!

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Anonymous (not verified)
Hi,That EnableZoom does not

Hi,

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.  ​?

You can include all required javascript files by using the InjectJSLibraries option from the configuration file so you should not have to include these separately.  You may even be able to use DOM injection (DOM Injection - Zebra Technologies TechDocs ) to avoid editing your app at all.

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.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Charalambos Stavrou
Hello,I followed the

Hello,

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:

<ZoomInKey value="0x8B"/>

<ZoomOutKey value="0x8C"/>

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.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Joydeep Chakraborty
Have all these issue already

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.

Full MX Feature Matrix - Zebra Technologies TechDocs

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. 

Regards,

Joydeep

Vote: 
Vote up!
Vote down!

Points: 1

You voted ‘up’


Charalambos Stavrou
Thank you very much Joydeep

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.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Joydeep Chakraborty
Please contact Enterprise

Please contact Enterprise Browser Product Manager or inbox me.

Regards,

Joydeep

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments