Listen intent for ConnectivityManager.CONNECTIVITY_ACTION, it seems only for connection changes (connected/disconnected) or changes from wifi to mobile, etc.
But in mobile connection, if changes between 2G, 3G, 4G, cannot get any intent broadcast.
I want the app disable on 2G connection, or enable in 3G/4G connection. the app will run in background. So need to listen for changes.
Is it possible to achieve?
I also would like to know how system listen for changes of network type and show in the notification like the above image.
