I'm here asking another enigmatic question
Do you know if Android Enterprise is able to send custom commands to device?, I mean, commands like take screenshot, push file, etc.
Currently I'm reading this official documentation, but this does not mention something related with custom commands, it just mentions about to reboot, lock and reset password.
I hope someone has solved it, thanks!
The Android Management API does not support custom commands such as taking a screenshot - there are the supported commands in the
issueCommand
docs you linked to, and one can also affect device state by modifying Policy (though that isn't really about sending commands).If you want to add custom logic during device or profile setup, you can do that by building an app implementing your logic, having it in Play, setting it as
REQUIRED_FOR_SETUP
in Policy, and setting aSetupAction
to launch the app during setup.An Enterprise Mobility Management (EMM) provider might support some form of "custom" commands with their own Device Policy Controller (DPC) - consult their docs for this.