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?
On a regular device, with a regular app, you can't.
You need a rooted device or a signed APK in /system/app