How to check internet access is enabled in android?
Iam trying to create an application that connect to a webserver and retricve data, i want to do some functions when i click my application, first it check whether the internet access is enabled? if it is enabled it start the application , else open the internet access settings..after that it redirect to my application.... when the application is connecting to web-server, connection is timed out after a specific time if the connection is not success. In an application of mine, I have a class defined like this: public class ConnectionDetector { private Context _context; public ConnectionDetector