Can I turn on/off Android development mode programmatically?

164 Views Asked by At

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?

1

There are 1 best solutions below

1
On BEST ANSWER

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

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