Simple Mobile Data Toggle Description
This Widget toggles Mobile Data between On & 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 hope 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 it to the home screen
• Simple - just the Widget, there are no advertisements
Technical 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 WiFi is connected
• Because WiFi handles data while it is on and connected, battery is saved because Wi-Fi generally uses much less power than Mobile Data
• MobileDataToggle is being developed using Android Studio. All modules build with no warnings and no errors
• 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 uses this Notification to inform the user of any run-time exception that may occur...
MobileDataToggle
setMobileDataEnabled(boolean)
Runs only on Android devices
up to KitKat 4.4, SDK 20
The icons were built with MS Paint and generated by:
ANDROID ASSET STUDIO CC BY 2.0
http://creativecommons.org/licenses/by/2.0/
MobileDataToggle uses permissions:
ACCESS_NETWORK_STATE
CHANGE_NETWORK_STATE
MobileDataToggle 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]
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.2
MobileDataToggle has been run on Android Studio emulators:
• S4 mini API 19
• S4 mini API 15
• Nexus 5 API 15
• Nexus 4 API 15
MobileDataToggle has been run on Genymotion emulators:
• Samsung Galaxy S2, Android 4.1.1, API 16
• Samsung Galaxy S4, Android 4.4.4, API 19
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 hope 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 it to the home screen
• Simple - just the Widget, there are no advertisements
Technical 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 WiFi is connected
• Because WiFi handles data while it is on and connected, battery is saved because Wi-Fi generally uses much less power than Mobile Data
• MobileDataToggle is being developed using Android Studio. All modules build with no warnings and no errors
• 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 uses this Notification to inform the user of any run-time exception that may occur...
MobileDataToggle
setMobileDataEnabled(boolean)
Runs only on Android devices
up to KitKat 4.4, SDK 20
The icons were built with MS Paint and generated by:
ANDROID ASSET STUDIO CC BY 2.0
http://creativecommons.org/licenses/by/2.0/
MobileDataToggle uses permissions:
ACCESS_NETWORK_STATE
CHANGE_NETWORK_STATE
MobileDataToggle 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]
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.2
MobileDataToggle has been run on Android Studio emulators:
• S4 mini API 19
• S4 mini API 15
• Nexus 5 API 15
• Nexus 4 API 15
MobileDataToggle has been run on Genymotion emulators:
• Samsung Galaxy S2, Android 4.1.1, API 16
• Samsung Galaxy S4, Android 4.4.4, API 19
Open up
Comments about Simple Mobile Data Toggle Android Version