title: Turn off/on wifi by wifi automatically by geolocation in Android
body: <p>In my application I want to implement this feature: <strong>Turn Off</strong> or <strong>Turn On</strong> the <strong>wifi</strong> using the geolocation. </p>
  
  <p>I mean, for example, when I come back home my wifi turn on and when go away it turns off. It would be best if the user gives the location as input. Does anyone have any sample code about it? For now to me even if the location is written by me directly in Java it's good too. </p>