I see this thread but it could not help me much.
Asked
Active
Viewed 2,390 times
1 Answers
2
Use ConnectivityManager
and getActiveNetworkInfo()
.

CommonsWare
- 986,068
- 189
- 2,389
- 2,491
-
@CommonsWare getActiveNetworkInfo() is returning NULL for me in android 2.2(WIFI is enabled and am able to browse internet). Is there any solution? – Sandeep Nov 30 '12 at 11:30