Code example for ConnectivityManager

Methods: getNetworkInfo

0
		 
		return info != null && info.isConnected();
	} 
	 
	public boolean isConnected(){ 
		return mConnectivityManager.getNetworkInfo( ConnectivityManager.TYPE_WIFI ).isConnected();
	} 
	 
	public String getSSID( ) {
		return mWifiInfo.getSSID();
	} 
	 
	public int getNumberOfAddresses( ) { 
		return IP4Address.ntohl( ~mNetmask.toInteger() );
	} 
	 
	public IP4Address getStartAddress( ) { 
		return mBase;
	} 
	 
	public String getNetworkMasked( ) {