当前位置: 首页 > news >正文

android应用程序跳转到系统的各个设置页面

在android SDK文档中有这样一个类,android.provider.Settings类提供android系统各个页面的跳转常量:

使用实例例:startActivity(new Intent(Settings.ACTION_WIRELESS_SETTINGS)),即可跳到android手机网络设置页面。

如果要launch Mobile Networks Setting页面按如下方法:
Intent intent=new Intent(Settings.ACTION_DATA_ROAMING_SETTINGS);
ComponentName cName = new ComponentName(“com.android.phone”,”com.android.phone.Settings”);
intent.setComponent(cName);
startActivity(intent);
Settings.ACTION_DATA_ROAMING_SETTINGS

如果要进入Networks Operators页面按如下方法:
Intent intent = new Intent(Intent.ACTION_MAIN);
intent.setClassName(“com.android.phone”, “com.android.phone.NetworkSetting”);
startActivity(intent);
com.android.phone.NetworkSetting

StringACTION_ACCESSIBILITY_SETTINGS
辅助功能模块的显示设置。
Activity Action: Show settings for accessibility modules.
StringACTION_ADD_ACCOUNT
显示屏幕上创建一个新帐户添加帐户。
Activity Action: Show add account screen for creating a new account.
StringACTION_AIRPLANE_MODE_SETTINGS
显示设置,以允许进入/退出飞行模式。
Activity Action: Show settings to allow entering/exiting airplane mode.
StringACTION_APN_SETTINGS
显示设置,以允许配置的APN。
Activity Action: Show settings to allow configuration of APNs.
StringACTION_APPLICATION_DETAILS_SETTINGS
有关特定应用程序的详细信息的显示屏幕。
Activity Action: Show screen of details about a particular application.
StringACTION_APPLICATION_DEVELOPMENT_SETTINGS
显示设置,以允许应用程序开发相关的设置配置
Activity Action: Show settings to allow configuration of application development-related settings.
StringACTION_APPLICATION_SETTINGS
显示设置,以允许应用程序相关的设置配置
Activity Action: Show settings to allow configuration of application-related settings.
StringACTION_BLUETOOTH_SETTINGS
显示设置,以允许蓝牙配置
Activity Action: Show settings to allow configuration of Bluetooth.
StringACTION_DATA_ROAMING_SETTINGS
选择of2G/3G显示设置
Activity Action: Show settings for selection of2G/3G.
StringACTION_DATE_SETTINGS
显示日期和时间设置,以允许配置
Activity Action: Show settings to allow configuration of date and time.
StringACTION_DEVICE_INFO_SETTINGS
显示一般的设备信息设置(序列号,软件版本,电话号码,等)
Activity Action: Show general device information settings (serial number, software version, phone number, etc.).
StringACTION_DISPLAY_SETTINGS
显示设置,以允许配置显示
Activity Action: Show settings to allow configuration of display.
StringACTION_INPUT_METHOD_SETTINGS
特别配置的输入方法,允许用户启用输入法的显示设置
Activity Action: Show settings to configure input methods, in particular allowing the user to enable input methods.
StringACTION_INPUT_METHOD_SUBTYPE_SETTINGS
显示设置来启用/禁用输入法亚型
Activity Action: Show settings to enable/disable input method subtypes.
StringACTION_INTERNAL_STORAGE_SETTINGS
内部存储的显示设置
Activity Action: Show settings for internal storage.
StringACTION_LOCALE_SETTINGS
显示设置,以允许配置的语言环境
Activity Action: Show settings to allow configuration of locale.
StringACTION_LOCATION_SOURCE_SETTINGS
显示设置,以允许当前位置源的配置
Activity Action: Show settings to allow configuration of current location sources.
StringACTION_MANAGE_ALL_APPLICATIONS_SETTINGS
显示设置来管理所有的应用程序
Activity Action: Show settings to manage all applications.
StringACTION_MANAGE_APPLICATIONS_SETTINGS
显示设置来管理安装的应用程序
Activity Action: Show settings to manage installed applications.
StringACTION_MEMORY_CARD_SETTINGS
显示设置为存储卡存储
Activity Action: Show settings for memory card storage.
StringACTION_NETWORK_OPERATOR_SETTINGS
选择网络运营商的显示设置
Activity Action: Show settings for selecting the network operator.
StringACTION_PRIVACY_SETTINGS
显示设置,以允许配置隐私选项
Activity Action: Show settings to allow configuration of privacy options.
StringACTION_QUICK_LAUNCH_SETTINGS
显示设置,以允许快速启动快捷键的配置
Activity Action: Show settings to allow configuration of quick launch shortcuts.
StringACTION_SEARCH_SETTINGS
全局搜索显示设置
Activity Action: Show settings for global search.
StringACTION_SECURITY_SETTINGS
显示设置,以允许配置的安全性和位置隐私
Activity Action: Show settings to allow configuration of security and location privacy.
StringACTION_SETTINGS
显示系统设置
Activity Action: Show system settings.
StringACTION_SOUND_SETTINGS
显示设置,以允许配置声音和音量
Activity Action: Show settings to allow configuration of sound and volume.
StringACTION_SYNC_SETTINGS
显示设置,以允许配置同步设置
Activity Action: Show settings to allow configuration of sync settings.
StringACTION_USER_DICTIONARY_SETTINGS
显示设置来管理用户输入字典
Activity Action: Show settings to manage the user input dictionary.
StringACTION_WIFI_IP_SETTINGS
显示设置,以允许配置一个静态IP地址的Wi – Fi
Activity Action: Show settings to allow configuration of a static IP address for Wi-Fi.
StringACTION_WIFI_SETTINGS
显示设置,以允许Wi – Fi配置
Activity Action: Show settings to allow configuration of Wi-Fi.
StringACTION_WIRELESS_SETTINGS
显示设置,以允许配置,如Wi – Fi,蓝牙和移动网络的无线控制
Activity Action: Show settings to allow configuration of wireless controls such as Wi-Fi, Bluetooth and Mobile networks.
StringAUTHORITY 
StringEXTRA_AUTHORITIES
在推出活动的基础上给予的权力限制可选项。
Activity Extra: Limit available options in launched activity based on the given authority.
StringEXTRA_INPUT_METHOD_ID
 
 

转载于:https://www.cnblogs.com/jiayonghua/archive/2012/05/07/2487582.html

相关文章:

  • Jboss问题总结 - 1
  • [转]三维成像原理
  • hdu 1671(字典树)
  • ![CDATA[ ]] 是什么东东
  • 什么是web接口
  • ubuntu下usb转串口设置
  • Python+Nginx实现邮件POP、IMAP、SMTP代理配置介绍
  • cookie setCookie sessionId
  • C# CancellationTokenSource和CancellationToken的实现
  • 制作首页的显示列表。
  • AjaxToolKit之Rating控件的使用(http://www.soaspx.com/dotnet/ajax/ajaxtech/ajaxtech_20091021_1219.html)...
  • 运行java web项目时报错:Several ports (8005, 8080, 8009) required
  • 备忘,查询信号质量的AT
  • Json学习整理
  • 将hdfs 上的文件通过shell脚本 导入到hive上面
  • avalon2.2的VM生成过程
  • Electron入门介绍
  • Git 使用集
  • Java的Interrupt与线程中断
  • PAT A1092
  • Synchronized 关键字使用、底层原理、JDK1.6 之后的底层优化以及 和ReenTrantLock 的对比...
  • ⭐ Unity 开发bug —— 打包后shader失效或者bug (我这里用Shader做两张图片的合并发现了问题)
  • 从零开始学习部署
  • 从伪并行的 Python 多线程说起
  • 订阅Forge Viewer所有的事件
  • 欢迎参加第二届中国游戏开发者大会
  • 记一次用 NodeJs 实现模拟登录的思路
  • 前端学习笔记之观察者模式
  • 时间复杂度与空间复杂度分析
  • Java总结 - String - 这篇请使劲喷我
  • ​【已解决】npm install​卡主不动的情况
  • #在 README.md 中生成项目目录结构
  • $NOIp2018$劝退记
  • (4)事件处理——(6)给.ready()回调函数传递一个参数(Passing an argument to the .ready() callback)...
  • (附程序)AD采集中的10种经典软件滤波程序优缺点分析
  • (附源码)springboot优课在线教学系统 毕业设计 081251
  • (附源码)流浪动物保护平台的设计与实现 毕业设计 161154
  • (论文阅读11/100)Fast R-CNN
  • (十三)Flask之特殊装饰器详解
  • (四)TensorRT | 基于 GPU 端的 Python 推理
  • (一)VirtualBox安装增强功能
  • (译) 理解 Elixir 中的宏 Macro, 第四部分:深入化
  • (原創) 如何刪除Windows Live Writer留在本機的文章? (Web) (Windows Live Writer)
  • (转)Groupon前传:从10个月的失败作品修改,1个月找到成功
  • ***测试-HTTP方法
  • .cfg\.dat\.mak(持续补充)
  • .NET MVC之AOP
  • .NET 的静态构造函数是否线程安全?答案是肯定的!
  • .NET 发展历程
  • .net 设置默认首页
  • .NET 中 GetHashCode 的哈希值有多大概率会相同(哈希碰撞)
  • .NET处理HTTP请求
  • .net和php怎么连接,php和apache之间如何连接
  • .NET中的Exception处理(C#)
  • @Transactional注解下,循环取序列的值,但得到的值都相同的问题