I\'ve been trying to retrive the current network type, but no success
when i say network type: i refer to know this info: if the type is: NETWORK_TYPE_IDEN
NETWORK_TYPE_IDEN
Also, add below required permission in your AndroidManifest.xml.
Otherwise, you will face app crash while getting ConnectivityManager handle due to security exception.