//使用这个方法,在程序中调用网络设置Intent mIntent = new Intent( );ComponentName comp = new ComponentName("com.android.settings","com.android.settings.WirelessSettings"); mIntent.setComponent(comp); mIntent.setAction("android.intent.action.VIEW");activity.startActivity(mIntent);
//方法2 当然是首选这个啦 startActivityForResult(new Intent(android.provider.Settings.ACTION_WIRELESS_SETTINGS),0);