I am working with my ipad application. With my iPad 3G, this is a problem that I cannot solve. I want to distinguish between 3G network and Wi-Fi in my application. Has anyone encountered the same problem before? Any advice is welcome! Thank!
You want to API reachability , which was discussed here .
This should help:
http://www.drobnik.com/touch/2010/08/reachability/
, 3G WIFI ~
//For 3G check boolean is3g = manager.getNetworkInfo(ConnectivityManager.TYPE_MOBILE) .isConnectedOrConnecting(); //For WiFi Check boolean isWifi = manager.getNetworkInfo(ConnectivityManager.TYPE_WIFI) .isConnectedOrConnecting();