是否有可能从我的应用程序启用USB调试(在设置/应用/开发)编程?
Is it possible to enable USB debugging (under settings/applications/development) programmatically from within my app?
我在看 Permission.WRITE_SETTINGS
和
http://developer.android.com/reference/android/provider/Settings.System.html,
但我找不到什么合适的。
I was looking at Permission.WRITE_SETTINGS
and
http://developer.android.com/reference/android/provider/Settings.System.html,
but I couldn't find anything appropriate.
这是不可能不使用授予的安全设置访问自己的自定义固件。 查看线程此处的http://groups.google.com/group/android-developers/browse_frm/thread/953c6f0eb0fa9bed#
It's not possible without using your own custom firmware that grants access to the security settings. See thread here: http://groups.google.com/group/android-developers/browse_frm/thread/953c6f0eb0fa9bed#