コード例 #1
0
 private boolean isWifi() {
   int connectedRadio = NetworkManager_.getInstance_(getContext()).getConnectedRadio();
   if (connectedRadio == NetworkManager.WIFI || connectedRadio == NetworkManager.BOTH) {
     return true;
   } else return false;
 }
コード例 #2
0
 private boolean isConnected() {
   return NetworkManager_.getInstance_(getContext()).isConnected();
 }