title: How to turn WIFI & 3G on/off on Android device - from Windows OS (using the CMD)
body: <p>I have the following command to run on CMD</p>
  
  <pre><code>adb shell am start -a android.settings.WIFI_SETTINGS
  </code></pre>
  
  <p>Now with this I go into the <em>'Wireless &amp; Networks'</em> of the connected device. Can anyone tell me how to disable &amp; enable WIFI from the <strong>COMMAND-PROMPT</strong>?</p>
  
  <p>The same needs to be done for 3G also.</p>
  
  <p>Reason to do this from CMD : I am trying some android automation.</p>