I am trying to conduct a bit of research before starting to develop an android application I am planning. I want the application to exhibit the following behavior: If connected to WiFi, send and receive messages to remote server Else If not connected to WiFi, do not send any messages. Display error message. I am trying to create an ethical application so users will not be charged when they become disconnected from WiFi without them noticing. If you could please point me towards any existing source/documentation on how to do this I would be grateful.