I ran into the same issue. You can find my solution for the import issue here:
It was posted under a different username at the time, but it is me.
I do not have a solution for needing to restart the application. I did not receive any response from Motorola yet either.
Can you post the code here for my reference? I am creating a hybrid app using mc40 which includes scanning.
Any help would be appreciated.
After Datawedge has imported the profile, you may need to send an enable scanner intent to wake it up. This should negate the need to restart or pause/resume your app.
final String ACTION_SCANNERINPUTPLUGIN = "com.motorolasolutions.emdk.datawedge.api.ACTION_SCANNERINPUTPLUGIN";
final String EXTRA_PARAMETER = "com.motorolasolutions.emdk.datawedge.api.EXTRA_PARAMETER";
final String ENABLE_PLUGIN = "ENABLE_PLUGIN";
Intent i = new Intent();