Search code examples
androiddevelopment-mode

Can I turn on/off Android development mode programmatically?


I cannot find any discussion about turn on/off Android development mode programmatically.

All the articles I found are talking about change it manually.

So I want to ask can I switch the development mode in program?


Solution

  • On a regular device, with a regular app, you can't.

    You need a rooted device or a signed APK in /system/app