Welcome to Headwind MDM Q&A, where you can ask questions and receive answers from other members of the community.

Please do not post bug reports, missing feature requests, or demo inquiries. If you have such an inquiry, submit a contact form.

0 votes
Can I mimic the API from the device to restart the device? With Android 11 you cannot reboot the device from your app. We have times where the device loses internet and need to reboot but because it doesn't have internet I cannot use the api or web portal. Can I access the MDM reboot function from my app?
by (620 points)
reshown by

1 Answer

+1 vote

To be able to reboot the device, your app needs to have the Device Owner rights. 

To achieve this, you need to sign your app with Headwind MDM keys and use the "com.hmdm" shared user. More details here: https://qa.h-mdm.com/16840/how-to-extend-the-headwind-mdm-android-library  (section "Using the device owner shared user").

by (9.5k points)