大家好,我是郭立员~
前言使用adb shell 命令跳转到系统设置的指定页面:
- Import "shanhai.lua"
- /*
- //应用详情页
- shanhai.Execute ("am start -a android.settings.APPLICATION_DETAILS_SETTINGS -d package:com.tencent.mm")
- //设置总页面
- shanhai.Execute ("am start -a android.settings.SETTINGS")
- //APN设置页面
- shanhai.Execute ("am start -a android.settings.APN_SETTINGS")
- //位置信息设置
- shanhai.Execute ("am start -a android.settings.LOCATION_SOURCE_SETTINGS")
- //无线和网络设置
- shanhai.Execute ("am start -a android.settings.WIRELESS_SETTINGS")
- //无障碍设置
- shanhai.Execute ("am start -a android.settings.ACCESSIBILITY_SETTINGS")
- //安全设置
- shanhai.Execute ("am start -a android.settings.SECURITY_SETTINGS")
- //备份与重置
- shanhai.Execute ("am start -a android.settings.PRIVACY_SETTINGS"
- //WIFI设置
- shanhai.Execute ("am start -a android.settings.WIFI_SETTINGS")
- //Ip设置
- shanhai.Execute ("am start -a android.settings.WIFI_IP_SETTINGS")
- //蓝牙
- shanhai.Execute ("am start -a android.settings.BLUETOOTH_SETTINGS")
- //日期时间
- shanhai.Execute ("am start -a android.settings.DATE_SETTINGS")
- //声音
- shanhai.Execute ("am start -a android.settings.SOUND_SETTINGS
- //显示
- shanhai.Execute ("am start -a android.settings.DISPLAY_SETTINGS")
- //语言设置
- shanhai.Execute ("am start -a android.settings.LOCALE_SETTINGS")
- //输入法设置
- shanhai.Execute ("am start -a android.settings.INPUT_METHOD_SETTINGS")
- //个人字典
- shanhai.Execute ("am start -a android.settings.USER_DICTIONARY_SETTINGS")
- //应用
- shanhai.Execute ("am start -a android.settings.APPLICATION_SETTINGS")
- //开发者选项
- shanhai.Execute ("am start -a android.settings.APPLICATION_DEVELOPMENT_SETTINGS")
- //全部应用
- shanhai.Execute ("am start -a android.settings.MANAGE_ALL_APPLICATIONS_SETTINGS")
- //添加账号
- shanhai.Execute ("am start -a android.settings.SYNC_SETTINGS")
- shanhai.Execute ("am start -a android.settings.ADD_ACCOUNT_SETTINGS")
- //网络运营商
- shanhai.Execute ("am start -a android.settings.NETWORK_OPERATOR_SETTINGS")
- //存储设置
- shanhai.Execute ("am start -a android.settings.INTERNAL_STORAGE_SETTINGS")
- shanhai.Execute ("am start -a android.settings.MEMORY_CARD_SETTINGS")
- //状态信息
- shanhai.Execute ("am start -a android.settings.DEVICE_INFO_SETTINGS")
- */
- shanhai.Execute ("am start -a android.settings.DEVICE_INFO_SETTINGS")
复制代码