TC51 - Scanner after sleeping

Hello,

We have an web application on Enterprise browser (1.8) and use entreprise home screen (2.7.3)

We have an issue with the scanner on the TC51.

While using it with our application, everything goes well.

But when the TC51 wake from the sleeping mode, the scanner is not correctly restarted, we just have the red pointer and not the red area and impossible to scan.

We must restart the app to retrieve a functionnal scanner.

We have the following instruction in our source to initialize the scanner but seem not working when wake from sleeping mode.

EB.Application.setApplicationNotify(androidEvent);

function androidEvent(e)

{

     EB.Barcode.disable;

     //event que l'écran est allumé

     if (e.applicationEvent = 'ScreenOn')

     {

          EB.Barcode.enable({allDecoders:true},fnBarcodeScanned);

     }

}

There is an configuration in Android or enterprise browser or enterprise home screen to settle this issues

thank you

Joydeep Chakraborty
Hi,Can you please share the

Hi,

Can you please share the config.xml?

Please also send the adb log setting Logtrace to 1 in config.xml.

Regards

Joydeep

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


DEVIN Thomas
Hello ​Here is the config

Hello

Here is the config file we use with the TC51

We will trace into the log and send this soon

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Joydeep Chakraborty
Hi,Can you please change the

Hi,

Can you please change the config.xml values and let me know whether that improves anything?

  <CustomKioskMode>

<setHomeKeyDisable value="0"/>

<setStatusBarDisable value="0"/>

<setBackKeyDisable value="0"/>

<setVolumeButonDisable value="0"/>

<setRecentAppDisable value="0"/>

  </CustomKioskMode>

Regards

Joydeep

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments