摘要:
摘自:http://hi.baidu.com/hanluhuass/item/565de4a6ba71cd0ba8cfb7dc方法1:startActivity(newIntent(Settings.ACTION_WIFI_SETTINGS));方法2:Intentintent=newIntent("/"); ComponentNamecm=newComponentName("com.android.settings","com.android.settings.WirelessSettings"); intent.setCompon 阅读全文
posted @ 2013-04-05 15:26
青城幻影
阅读(785)
评论(0)
推荐(0)
摘要:
import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;public class Myeclipse_65gen { private static final String L... 阅读全文
posted @ 2013-04-05 13:26
青城幻影
阅读(280)
评论(0)
推荐(0)
摘要:
摘自:http://zhxhinfu.blog.163.com/blog/static/187571188201261893241183/一、判断网络连接是否可用public static boolean isNetworkAvailable(Context context) {ConnectivityManager cm = (ConnectivityManager) context .getSystemService(Context.CONNECTIVITY_SERVICE);if (cm == null) { } else { //如果仅仅是用来判断网络连接 //则... 阅读全文
posted @ 2013-04-05 13:15
青城幻影
阅读(251)
评论(0)
推荐(0)

浙公网安备 33010602011771号