Determining and Monitoring the Connectivity Status | Android ...
經安全檢測,此網站為安全網站,請放心前往原始網址!
Determining and Monitoring the Connectivity Status | Android ...
By querying the type of the active network, as shown below, you can alter your
refresh rate based on the bandwidth available. boolean isWiFi = activeNetwork.