mobile/src/main/java/drost_stein/fbg/hsbo/de/urbantrackingapp/NetworkReceiver.java
private boolean checkHasWIFI() {
        ConnectivityManager connMgr = (ConnectivityManager)
                context.getSystemService(Context.CONNECTIVITY_SERVICE);
        NetworkInfo networkInfo = connMgr.getNetworkInfo(ConnectivityManager.TYPE_WIFI);
        return networkInfo.isConnected();
    }
/**
     * checks if there is a WIFI connection
     *
     * @return true if there is a WIFI connection
     */
checks if there is a WIFI connection
@return true if there is a WIFI connection
checks if there is a WIFI connection @return true if there is a WIFI connection
private boolean checkHasWIFI() {
        ConnectivityManager connMgr = (ConnectivityManager)
                context.getSystemService(Context.CONNECTIVITY_SERVICE);
        NetworkInfo networkInfo = connMgr.getNetworkInfo(ConnectivityManager.TYPE_WIFI);
        return networkInfo.isConnected();
    }
private boolean checkHasWIFI ( ) { ConnectivityManager connMgr = ( ConnectivityManager ) context . getSystemService ( Context . CONNECTIVITY_SERVICE ) ; NetworkInfo networkInfo = connMgr . getNetworkInfo ( ConnectivityManager . TYPE_WIFI ) ; return networkInfo . isConnected ( ) ; }
checks if there is a WIFI connection
 @return true if there is a WIFI connection
checks if there is a WIFI connection @return true if there is a WIFI connection