TC51 - Scanner after sleeping

// Expert user has replied.
D DEVIN Thomas 3 years 7 months ago
31 2 0

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

Please Register or Login to post a reply

2 Replies

J Joydeep Chakraborty

Hi,
Can you please share the config.xml?
Please also send the adb log setting Logtrace to 1 in config.xml.

Regards
Joydeep

D DEVIN Thomas

Hello ​

Here is the config file we use with the TC51

We will trace into the log and send this soon

CONTACT
Can’t find what you’re looking for?