Apps that communicates with web services needs to check network availability before calling them. Failing do so may break the app when there are no network present. You can use following code segment/method to check the network availability. If network available then TRUE returned from the method. boolean networkStatus = getNetworkStatus(); if(networkStatus){ call the web […]
You are here: Home / Archives for check availability