3 Replies Latest reply on Oct 14, 2014 12:32 PM by Peter Arcuri

    Scanner disabled after resuming from suspend

    Otto Palminkoski

      Hi,

       

      for some reason the scanner is not working after returning from suspend (sleep mode).

       

      Device: MC75A0

      RhoMobile/Elements: v2.2.1.12

       

      I have tried to re-enable it with help of 'PowerOn module' but to no avail.

       

      <META HTTP-Equiv="PowerOn" content="PowerOnEvent:url('Javascript:onPowerOn();')">

       

      function onPowerOn() {

            scanner.enable();

           alert("debug: powerOn()");

      }

       

      On resume the function is invoked ok but the scanner remains dead.

       

      Any ideas?

       

      - Otto