提供者包含全球系统级的设置设备的偏好
Intent 的 意图: Intent intent = new Inetnt(Setings);
Setings:
1. ACTION_ACCESSIBILITY_SETTINGS : // 跳转系统的辅助功能界面
Intent intent = new Intent(Settings.ACTION_ACCESSIBILITY_SETTINGS);
startActivity(intent);
2. ACTION_ADD_ACCOUNT : // 显示添加帐户创建一个新的帐户屏幕。【测试跳转到微信登录界面】
Intent intent = new Intent(Settings.ACTION_ADD_ACCOUNT);
startActivity(intent);
3. ACTION_AIRPLANE_MODE_SETTINGS: // 飞行模式,无线网和网络设置界面
Intent intent = new Intent(Settings.ACTION_AIRPLANE_MODE_SETTINGS);
startActivity(intent);
或者:
ACTION_WIRELESS_SETTINGS :
Intent intent = new Intent(Settings.ACTION_WIFI_SETTINGS);
startActivity(intent);
4. ACTION_APN_SETTINGS: // 跳转 APN设置界面
Intent intent = new Intent(Settings.ACTION_APN_SETTINGS);
startActivity(intent);
5. 【需要参数】 ACTION_APPLICATION_DETAILS_SETTINGS: // 根据包名跳转到系统自带的应用程序信息界面
Uri packageURI = Uri.parse("package:" + "com.tencent.WBlog");
Intent intent = new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS,packageURI);
startActivity(intent);
Intent 的 意图: Intent intent = new Inetnt(Setings);
Setings:
1. ACTION_ACCESSIBILITY_SETTINGS : // 跳转系统的辅助功能界面
Intent intent = new Intent(Settings.ACTION_ACCESSIBILITY_SETTINGS);
startActivity(intent);
2. ACTION_ADD_ACCOUNT : // 显示添加帐户创建一个新的帐户屏幕。【测试跳转到微信登录界面】
Intent intent = new Intent(Settings.ACTION_ADD_ACCOUNT);
startActivity(intent);
3. ACTION_AIRPLANE_MODE_SETTINGS: // 飞行模式,无线网和网络设置界面
Intent intent = new Intent(Settings.ACTION_AIRPLANE_MODE_SETTINGS);
startActivity(intent);
或者:
ACTION_WIRELESS_SETTINGS :
Intent intent = new Intent(Settings.ACTION_WIFI_SETTINGS);
startActivity(intent);
4. ACTION_APN_SETTINGS: // 跳转 APN设置界面
Intent intent = new Intent(Settings.ACTION_APN_SETTINGS);
startActivity(intent);
5. 【需要参数】 ACTION_APPLICATION_DETAILS_SETTINGS: // 根据包名跳转到系统自带的应用程序信息界面
Uri packageURI = Uri.parse("package:" + "com.tencent.WBlog");
Intent intent = new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS,packageURI);
startActivity(intent);