title: How to disable WiFi on Glass for testing?
body: <p>I want to develop a receiver for Google Glass which will detect the WiFi state of Glass and depending on that state show some information to user.</p>
  
  <p>The receiver will listen for <code>android.net.wifi.WIFI_STATE_CHANGED</code> so that I can catch the event and after that check the status of the internet. It will not only detect the internet availability but will also show if Glass is timing out when pinging any specific IP address from any apps of glass.</p>
  
  <p>I have tested the receiver on another Android device and it's working fine. But now I want to test the app on Glass. In order to test, I want to disable WiFi; however, Glass only shows options in settings for forgetting the current WiFi network and connecting to a nearby network.</p>
  
  <p>How can I disable WiFi on Glass temporarily?</p>