VMware Workspace ONE Community
LeandroRocha
Contributor
Contributor

How to automatically close an Android App

 

I have an Android app that must be launched on the startup. The app is set to launch in the Launcher profile, which works correctly. The problem is that we also need to close this app AFTER it launches.

This app is installed on Android 11+ devices. All owned and managed by the company.

At the moment, I'm trying to use Run Intent with the condition as "Launcher check in", to make it work every time it boots.

This is my intent right now (App ID changed to com.example):

mode=explicit,broadcast=false,action=android.intent.action.MAIN,package=com.example,class=com.example.activities.ACTION_CLOSE_SYSTEM_DIALOGS

Could you kindly advise if this is possible, or if I should try through another method?

Always learning
0 Kudos
0 Replies