I need to know, can we execute adb shell script programtically in android, because i need that script running when application start for be as a device owner in kiosk mode feature like this below :
adb shell dpm set-device-owner com.test/.AdminReceiver
Thanks in advance