I'm writing a mobile website for Chrome mobile and would like to detect if the user is connected to the internet via wifi or 3g. Is that possible?
Asked
Active
Viewed 598 times
0
-
By web app do you mean an Android app that wraps a `WebView` or straight up a website that users need to access via Chrome? If the latter, I dont think Madison's response is what you are looking for... – Salil Pandit Jul 22 '12 at 23:07
-
Sorry, I should have clarified that. It's a mobile website, not a website wrapped in an app. – johnny Jul 24 '12 at 09:21
1 Answers
1
Take a look at this thread: ANDROID: if WiFi is enabled AND active, launch an intent . I think you might find what you are looking for.

Community
- 1
- 1

Madison May
- 2,723
- 3
- 22
- 32
-
I'm writing a mobile website. Sorry for the confusion, I clarified it in the first post. – johnny Jul 24 '12 at 09:22