public static android.net.NetworkInfo getNetworkInfo(android.content.Context p2)
    {
        return ((android.net.ConnectivityManager) p2.getSystemService(connectivity)).getActiveNetworkInfo();
    }