Connectivity detector implementation through a BroadCastReceiver. The android application is able to detect changes in Internet connectivity.