Hi Alejandro. I hadn’t heard of wifi matic before. It sounds like an interesting use-case.
To my knowledge there are currently no Web API’s to access the WiFi state of the device nor change the WiFi state (en/disable it). This functionality is still restricted to operator provided and OS-level apps. As a way forward, I think we want to enable anyone to write an app like wifi matic, instead of having to bake it into the OS itself. Practically speaking could you raise your use-case on the https://lists.mozilla.org/listinfo/dev-webapi list? There’s a wiki page at https://wiki.mozilla.org/WebAPI which lists a WiFi information API and notes that changes should go through the settings API. But neither of those are currently available to normal apps. Having another use-case might bump up the priority for getting those API’s done. For gathering cell identifiers, we have already started on integrating code into Firefox OS and we’ll expand this in the next releases. Hanno On 23.04.2014, at 12:56 , Alejandro García <[email protected]> wrote: > Hello. Have you think about making something like wi-fi matic in Firefox > OS? I think it could be mixed with the Mozilla Location Service too. > > wi-fi matic is an open source android app that activates and deactivates > Wi-Fi of your device automatically depending on your location, helping you > to save battery and consumption of data through your operator network. It > DOES NOT USE GPS nor Android network location services, as it uses your > operator network cell identifiers (cell tower identifiers) as the relative > location where you are, and where your Wi-Fi networks are. It is designed > to minimize usage of resources and battery. Wi-Fi Matic detects and learns > automatically locations where you are connected to a Wi-Fi. > > It would be great to implement this on Firefox OS to save battery, and the > operator network cell identifiers could be used to improve the Mozilla > Location Service too meanwhile. _______________________________________________ dev-geolocation mailing list [email protected] https://lists.mozilla.org/listinfo/dev-geolocation
