Network Connectivity Checker
Parameters
context
to get the a system-level service class ConnectivityManager.
Note: System services obtained via this API may be closely associated with the Context in which they are obtained from. In general, do not share the service objects between various different contexts (Activities, Applications, Services, Providers, etc.)