EMDK Intent not working with EHS auto_launch

J Jeanne Fayolle 3 years ago
4 3 0

I am trying to get the following scenario to work:
* I have a Zebra MC33 running Android 8.1
* The device needs to run one simple app that has one activity which is an EMDKListener and reacts to one intent
* I want to use EHS to restrict the device to this app only
So far I have found everything I need, except for one oddity:
If I autostart the app in EHS (via or ), the app does not react when scanning. After disabling autostart and starting the app by tapping the icon it works normally. Attaching a debugger while the app is running autostarted doesn't even hit the breakpoint of the scan arriving in the app.
The relevant passages from the enterprisehomescreen.xml file are:

1

Can anyone point me into the right direction?

Please register or login to post a reply

3 Replies

J Jeanne Fayolle

This is the generated EMDKConfig.xml: https://pastebin.com/LAg0ViBF

J Jeanne Fayolle

I don't know, how can I tell?
I have a native Android App where I configured some parameters in the EMDK Manager Plugin in Android Studio and my one activity in the app implements the EMDKListener interface.

D Darryn Campbell

Are you using DataWedge or EMDK for scanning?  I ask because I am confused when you talk about the EMDKListener reacting to an Intent

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