title: code to enable a setting of Android developer mode
body: <p>I want to make a code to enable the developer mode and set a parameter on this ( the one to always allow roaming detection so we can switch to a better wifi if found).</p>
  
  <p>I saw some apps that can launch developer mode, but nothing is opening it AND changing some parameters. I can't ask to users to set this parameter themselves, so how can I make this myself?</p>
  
  <p>I saw also that we can do this by shell : </p>
  
  <blockquote>
    <p>adb shell am start -n com.android.settings/.DevelopmentSettings</p>
  </blockquote>
  
  <p>But afterwards i don't know how to set automatically a parameter.</p>
  
  <p>As I made my own app, I could launch developer mode and this param on the start of my app.</p>
  
  <p>Did anyone made this before inside of an app?
  How can I call DevelopmentSettings activity inside my app and edit some of its parameters?</p>
  
  <p>Thanks</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I can eventually root all my phones and set my app inside system folder, It can be complicated but we could manage it. If I does, How can I access to the parameters of developer mode programatically?</p>