question: public static boolean isConnectedUsingWifi ( ) { Context context = FeApp . getAppContext ( ) ; ConnectivityManager cm = ( ConnectivityManager ) context . getSystemService ( Context . CONNECTIVITY_SERVICE ) ; NetworkInfo ni = cm . getActiveNetworkInfo ( ) ; return ni != null && ni . isConnected ( ) == true && ni . getType ( ) == ConnectivityManager . TYPE_WIFI ; }
target:  Checks to see if we are connected using wifi