How to solution for "APP A" KILL APPLICATION "APP B","APP C" via SOTI script or intent

R
rathasatekun
Gosoft (Thailand) Co.,Ltd.

hi, Soti team

how to script or solution for "APP A"  kill "APP B" via script or sonething,

why i want,

I want to use Bluetooth Printer with "APP A" and "APP B" have been connected to Bluetooth printer, I want to Kill "APP B" before "APP A" connected , How to do that

5 months ago
Android
ANSWERS
RS
Rafael Schäfer
5 months ago

You could use JS for that if you use a lockdown, assigning that JS then there as an item or create a button for it in the template and add this as a script part.
Would be something like:

mobicontrol.app.stop('BundleID.App.B');
mobicontrol.app.start('BundleID.App.A');

M
MMMOD
5 months ago

Hi Rathasatekun,

Thanks for posting on SOTI pulse. Thanks Rafael for responding to the post.

Has your query been resolved? If not, or if you have any additional concerns, please don't hesitate to reach out. We are dedicated to providing assistance and support.

Also, if this post has helped you in solving your query, I would request you to mark the particular comment as "is solution", so that others may benefit from this information.