问题
I see this thread but it could not help me much.
回答1:
Use ConnectivityManager and getActiveNetworkInfo()
.
来源:https://stackoverflow.com/questions/3642267/android-how-can-we-know-the-current-connection-type-ex-wifi-3g-2g-progr
I see this thread but it could not help me much.
Use ConnectivityManager and getActiveNetworkInfo()
.
来源:https://stackoverflow.com/questions/3642267/android-how-can-we-know-the-current-connection-type-ex-wifi-3g-2g-progr