Enable USB debugging (under settings/applications/development) programmatically from within an app

后端 未结 5 1234
北海茫月
北海茫月 2020-12-11 03:23

Is it possible to enable USB debugging (under settings/applications/development) programmatically from within my app?

I was looking at Permission.WRITE_SETTING

5条回答
  •  半阙折子戏
    2020-12-11 03:53

    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#

提交回复
热议问题