Simple WiFi and Mobile Data is a Widget that uses one icon to toggle WiFi and Mobile Data through 4 state combinations - first, both WiFi turned off and Mobile Data turned off, then WiFi turned off and Mobile Data turned on, then WiFi turned on and Mobile Data turned off, then both WiFi turned on and Mobile Data turned on. It reflects each change in state with changes in the icon. The icon uses bright green to indicate on, and bright red to indicate off.



Technical Notes regarding WiFi and Mobile Data

WiFiMoDaToggle

setMobileDataEnabled(boolean)

Runs only on Android devices

up to KitKat 4.4, SDK 19


The icons were built with MS Paint and generated by ...

ANDROID ASSET STUDIO CC BY 2.0

http://creativecommons.org/licenses/by/2.0/


WiFiAndMobileData uses permissions ...

ACCESS_NETWORK_STATE

CHANGE_NETWORK_STATE

ACCESS_WIFI_STATE

CHANGE_WIFI_STATE


WiFiAndMobileData has been run on Android versions ...

Note that the API to access and change the Mobile Data state is deprecated for Lollipop - Android 5.0, API-21 and later. Therefore, this Widget will not run on those devices.


WiFiAndMobileData has been run on Samsung Galaxy hardware ...


WiFiAndMobileData has been run on Android Studio emulators ...


WiFiAndMobileData has been run on Genymotion emulators ...