1 Reply Latest reply on Jan 14, 2019 11:09 AM by Javier Molina

    How a third-party app detects whether its Connected/Disconnected with the scanner (TC25 Model)

    Eeshan Jamal

      As a third-party app I request to connect with the scanner and I received the EMDK Manager instance using which I added a data listener on a specific profile. Now while the app is running user disabled the scanning in the default scanner controller app. How would app get to know about it? Is there any specific delegate to listen the Availability/Unavailability of the scanner for the third party apps once the connection is established?

        • Re: How a third-party app detects whether its Connected/Disconnected with the scanner (TC25 Model)
          Javier Molina

          Eeshan,

           

          If you're using the EMDKManager.getEMDKManager , you're passing an EMDKListener as the second parameter. The onClosed method of your EMDKListener should be called if the connection to the EMDK service is terminated. Is that happening in your case?

           

          If not, can you please add some more details on your scenario? Specifically, when you say "user diabled the scanning in the default scanner controller app", please describe what is happening exactly (what setting is being changed on what application).

           

          Javier Molina

          Technical Architect, Kutir Mobility

          Posted on behalf of Zebra Technologies