I have an app that connects to webservice but the problem is that when I get 3G, it gives error. When the connection is good, with a wi-fi for example it works perfectly.
I have some algorithms that test the connection, but everyone validates only if it is connected, and sometimes 3G has a network but does not connect to the internet, generating an error in the app.
Can anyone help me check the internet before the app tries to consume the webservice ?