Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import android.net.ConnectivityManager;

public class Main {
    private static boolean Net_IsTest = false;
    public static int NetType = 0;

    public static boolean isWiFICon() {
        boolean result = false;
        if (Net_IsTest && NetType == ConnectivityManager.TYPE_WIFI)
            result = true;
        return result;
    }
}