Is it possible to activate Device Administrator via ADB command instead of tapping
"Setting -> Security -> Device Administrators --> Select App --> Activate"
on handheld?
If it's possible, how?
Answer
It's not possible. The settings code is specifically written to prevent this. The closest you can come is to bring up the Device administration settings page in the Settings app. You can do this with:
adb shell am start -S "'com.android.settings/.Settings\$DeviceAdminSettingsActivity'"
No comments:
Post a Comment