I want to execute this command:
Runtime.getRuntime().exec("adb shell dpm set-device-owner com.example.msgshareapp/.AdminReceiver")
This didn't work, then I tried this:
Runtime.getRuntime().exec("dpm set-device-owner com.example.msgshareapp/.AdminReceiver")
And this does completly nothing, anyway of executing this command?