truiton.com
Android onDataConnectionStateChanged - Detect Network Type - Truiton
Android onDataConnectionStateChanged is a method in PhoneStateListener class which is used to monitor network data connection state changes and network type changes on a device. This tutorial would show basic usage of TelephonyManager - listen method.