public static boolean checkNet(android.content.Context p1)
    {
        int v1_4;
        if (((android.net.ConnectivityManager) p1.getSystemService(connectivity)).getActiveNetworkInfo() == null) {
            v1_4 = 0;
        } else {
            v1_4 = 1;
        }
        return v1_4;
    }