@TargetApi(Build.VERSION_CODES.FROYO)
    public static boolean hasWifiFeature(Context context) {
        return hasWifiFeature(context.getPackageManager());
    }
@ TargetApi ( Build . VERSION_CODES . FROYO ) public static boolean hasWifiFeature ( Context context ) { return hasWifiFeature ( context . getPackageManager ( ) ) ; }
Checks if the device has a WIFI.
@param context the context.
@return {@code true} if the device has a WIFI.