how use command: sendintent -b "intent on honeywell device

Solved
NG
Nigro Giovanni
CALZEDONIA S.P.A.

Hi to all, we need to execute on more online device a new DeviceConfig.xml that contain specific grant of an apk internal application.
We know that via command script is present the command sendintent.
We done a online resourche and we discover this command line:

sendintent -b "intent:#Intent;action=com.honeywell.tools.deviceconfig.enabledeviceconfig;S.deviceconfigfilepath=/sdcard/honeywell/DeviceConfig.xml;launchFlags=0x1400020;end"

If we send this command to a device seems that the new DeviceConfig is ignored but if we do the intent manually so we put de .xml file in honeywell/persist then we reboot the device, the grant permisson become available on the apk.
What is the error that we are doing using the command script?
Could be possible that this kind of command have no effect if we execute it pushing the file .xml in differend folder then /honeywell/persist ?

5 months ago
SOTI MobiControl
ANSWERS
MD
Matt Dermody Diamond Contributor
5 months ago
Solution
NG
Nigro Giovanni
5 months ago

ciao, thanks for your answer.

We already tryed the command like yours but we don't have any effect... i don't know if we have to use different flags using Android 11 or for example we have to use another command before in order to prepare the CT30 to use the command sendintent... we are trying to send the script mannually but no effect seems have on the device

R
Remy
4 months ago

Hi,

I think you kind of answered your own question...Did you try running the command with the file placed exactly in the location you mentioned?

A
APMOD
4 months ago

Hi @Nigro Giovanni

Thank you for your post on SOTI Pulse.

Thanks @Matt Dermody for responding to the post, your expertise and willingness to help are greatly appreciated!

Could you kindly let us know if your issue has been resolved after referring to the article provided for different device OS versions?

https://sps-support.honeywell.com/s/article/How-to-run-DeviceConfig-with-a-SOTI-MobiControl-script-on-an-Android-device

If you have any additional questions or concerns, please don’t hesitate to reach out. We are here to provide support and assistance whenever you need it.

Kind regards,

Technical Support | SOTI Inc. |1.905.624.9828 | support@soti.net | www.soti.net |

NG
Nigro Giovanni
4 months ago

i found a solution for ma cases.

What i'done is incude in the DeviceConfig.xml just only the info that i needed to apply to the device, not the complete info settings that uslually are present in the DeviceConfig.xml.... in this way i solved my problem.

Sorry for thr delay but we are very very busy in this period.

Thanks to all for the beautifull support.