Android check internet connection
This method checks whether mobile is connected to internet and returns true if connected: in manifest, Edit: This method actually checks if device is connected to internet(There is a possibility it’s connected to a network but not to internet).