private boolean isWifi() {
   int connectedRadio = NetworkManager_.getInstance_(getContext()).getConnectedRadio();
   if (connectedRadio == NetworkManager.WIFI || connectedRadio == NetworkManager.BOTH) {
     return true;
   } else return false;
 }
 private boolean isConnected() {
   return NetworkManager_.getInstance_(getContext()).isConnected();
 }