在Android中以编程方式切换到开发人员模式 [英] Programmatically switch to developer mode in Android

查看:54
本文介绍了在Android中以编程方式切换到开发人员模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个工具,该工具可以在Android版本低于4.2的Android设备上切换到开发人员模式.我想创建一个apk来激活和停用开发人员模式.这可能吗?怎么样?

I want to create a tool that allows to switch to developer mode on Android devices with an Android version less than 4.2. I want to create an apk to activate and deactivate the developer mode. Is this possible? How?

推荐答案

开发人员"模式是系统设置,因此只能从系统应用程序进行修改(即用制造商的密钥签名).您无法创建会修改此设置的应用.

"Developer" mode is a system setting and therefore can only be modified from a system application (i.e. signed with a manufacturer's key). You cannot create an app that would modify this setting.

这篇关于在Android中以编程方式切换到开发人员模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆