Intent intent=null;        //判断手机系统的版本  即API大于10 就是3.0或以上版本         if(android.os.Build.VERSION.SDK_INT>10){            intent = new Intent(android.provider.Settings.ACTION_WIRELESS_SETTINGS);        }else{            intent = new Intent();            ComponentName component = new ComponentName("com.android.settings","com.android.settings.WirelessSettings");            intent.setComponent(component);            intent.setAction("android.intent.action.VIEW");        }        startActivity(intent);

更多相关文章

  1. Android启动系统自带的程序组件
  2. android调用系统摄像头拍照图片和视频
  3. IMX6Q核心板Android系统编译笔记
  4. android 调用android系统的对话框控件
  5. Android自用-----系统自带app与用户app
  6. 显示Android当前可用系统内存方法
  7. Android 版本更新下载自动安装APK,并解决Android6.0,7.0安装失败
  8. 版本更新简要

随机推荐

  1. Android 之窗口小部件详解--App Widget
  2. Android 中文 API (20) ―― DatePicker
  3. android发展计划,技术栈
  4. Android Handler 通信 - 彻底了解 Handle
  5. Android 运行时权限库
  6. Android 组件动画
  7. Android Permission denied 错误 ( 附And
  8. android N 版本问题
  9. android实现开机自动播放音乐实例(Broadca
  10. 赵雅智_Android的getResources()资源引用