我想以编程方式重定向到设备管理员设置 Activity 。我可以使用 Intent 标志将用户重定向到安全设置,但我想重定向到设备管理员设置。 谁能帮忙?
最佳答案
改进上述答案
Intent intent = new Intent();
intent.setComponent(new ComponentName("com.android.settings", "com.android.settings.DeviceAdminSettings"));
startActivity(intent);
关于android - 如何启动设备管理员设置 Activity android,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20067232/