Simple Mobile Data Toggle
This Widget toggles Mobile Data between On and Off
Simple Mobile Data Toggle
This Widget toggles Mobile Data between On and Off. The icon changes between bright Green and bright Red to indicate the current mobile data state.In addition to responding to taps on the icon, this Widget uses a Broadcast Receiver to update the icon. This means that the icon will correctly reflect the Mobile Data state virtually all of the time. There is one circumstance where the icon may be out of synchronization; this is explained below in the Technical Notes. I expect to address this in a future update.• Simple - If you have difficulty seeing that tiny notification icon you will love the very bright Widget icon which always shows the mobile data state – bright green to indicate Mobile Data ON and bright red to indicate Mobile Data OFF• Simple - from the home screen Widget you always know instantly the current status of Mobile Data • Simple - just the Widget doing just one thing, which is to toggle the Mobile Data state between on and off• Simple - just the Widget, there is no App. After installing go to the App drawer, find the Widget in the Widget list, then long press and swipe to the home screen• Simple - just the Widget, there are no advertisementsTechnical Notes:• While WiFi is enabled Android does not send a notification for changes in Mobile Data. Consequently, if Mobile Data is changed using the device Settings menu [or any other App] while WiFi is enabled, this Widget is not notified of the change by the Broadcast Receiver and cannot at that time reflect the change in the Icon• If the user subsequently turns WiFi off using the device Settings menu [or any other App], this Widget should receive the missed notification and update the icon• When both WiFi and Mobile Data are enabled, Android reports Mobile Data as not enabled and does not display it on the notification bar, even though it is in fact enabled• While WiFi is turned on it supersedes mobile data for virtually all data transmission. You may keep Mobile Data connected for things like a multimedia message to be sent or received, but it is essentially dormant and consuming little to no power while Wi-Fi is connected• Because Wi-Fi handles data while it is on and connected, battery is saved because Wi-Fi generally uses much less power than Mobile Data• MobileDataToggle uses a Notification to inform the user of any run-time exception that may occur• The API to change the Mobile Data state is deprecated for Lollipop - Android 5.0+, API-21 and later. Consequently, this Widget will not run on those devices and instead displays a Notification• MobileDataToggle is being developed using Android Studio. All modules build with no warnings and no errorsThe icons were built with MS Paint and generated by:ANDROID ASSET STUDIO CC BY 2.0http://creativecommons.org/licenses/by/2.0/MobileDataToggle uses permissions:ACCESS_NETWORK_STATECHANGE_NETWORK_STATEMobileDataToggle has been run on Android versions:• Ice Cream Sandwich [API-15, 4.0.1]• Jelly Bean [API-16, 4.1 to 4.3.1]• KitKat [API-19, 4.4]Note that the API to access and change the Mobile Data state is deprecated for Lollipop - Android 5.0, API-21 and later. Consequently, this Widget will not run on those devices.MobileDataToggle has been run on Samsung Galaxy hardware:• S4 mini Android 4.4.2• Note Android 4.1.2• Note 3 Android 4.4.2• Note 4 Android 4.4.4• S3 Android 4.3• S4 Android 4.4.2• S5 Android 4.4.2MobileDataToggle has been run on Android Studio emulators:• S4 mini API 19• S4 mini API 15• Nexus 5 API 15• Nexus 4 API 15MobileDataToggle has been run on Genymotion emulators:• Samsung Galaxy S2, Android 4.1.1, API 16• Samsung Galaxy S4, Android 4.4.4, API 19