Android调用系统设置界面

//根据包名
Intent intent = new Intent("/");
ComponentName cm = new
ComponentName("com.android.settings","com.android.settings.Settings$DeviceInfoSettingsActivity");
intent.setComponent(cm);
intent.setAction("android.intent.action.VIEW");
mContext.startActivity( intent );
*** 通过系统设置ACTION名称跳转 ***

//打开系统设置界面
Intent intent = new Intent(Settings.ACTION_SETTINGS);
startActivity(intent);

// 跳转系统的辅助功能界面
Intent intent = new Intent(Settings.ACTION_ACCESSIBILITY_SETTINGS);
startActivity(intent);

// 显示添加帐户创建一个新的帐户屏幕。
Intent intent = new Intent(Settings.ACTION_ADD_ACCOUNT);
startActivity(intent);

// 飞行模式,无线网和网络设置界面
Intent intent = new Intent(Settings.ACTION_AIRPLANE_MODE_SETTINGS); startActivity(intent);
或者:
Intent intent = new Intent(Settings.ACTION_WIFI_SETTINGS);
startActivity(intent);

// 跳转 APN设置界面
Intent intent = new Intent(Settings.ACTION_APN_SETTINGS);
startActivity(intent);

// 根据包名跳转到系统自带的应用程序信息界面
Uri packageURI = Uri.parse("package:" + "com.tencent.WBlog");
Intent intent = new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS,packageURI);
startActivity(intent);

// 跳转开发人员选项界面
Intent intent = new Intent(Settings.ACTION_APPLICATION_DEVELOPMENT_SETTINGS);
startActivity(intent);

// 跳转应用程序列表界面
Intent intent = new Intent(Settings.ACTION_APPLICATION_SETTINGS);
startActivity(intent);
或者【所有的】:
Intent intent = new Intent(Settings.ACTION_MANAGE_ALL_APPLICATIONS_SETTINGS);
startActivity(intent);
或者【已安装的】:
Intent intent = new Intent(Settings.ACTION_MANAGE_APPLICATIONS_SETTINGS);
startActivity(intent);

// 跳转系统的蓝牙设置界面
Intent intent = new Intent(Settings.ACTION_BLUETOOTH_SETTINGS);
startActivity(intent);

// 跳转到移动网络设置界面
Intent intent = new Intent(Settings.ACTION_DATA_ROAMING_SETTINGS);
startActivity(intent);

// 跳转日期时间设置界面
Intent intent = new Intent(Settings.ACTION_DATA_ROAMING_SETTINGS);
startActivity(intent);

// 跳转手机状态界面
Intent intent = new Intent(Settings.ACTION_DEVICE_INFO_SETTINGS);
startActivity(intent);

// 跳转手机显示界面
Intent intent = new Intent(Settings.ACTION_DISPLAY_SETTINGS);
startActivity(intent);

// 跳转手机投屏/投射【API 17及以上】
Intent intent = new Intent(Settings.ACTION_CAST_SETTINGS);
startActivity(intent);

// 跳转语言和输入设备
Intent intent = new Intent(Settings.ACTION_INPUT_METHOD_SETTINGS);
startActivity(intent);

// 跳转 语言选择界面 【多国语言选择】【API 11及以上】
Intent intent = new Intent(Settings.ACTION_INPUT_METHOD_SUBTYPE_SETTINGS);
startActivity(intent);

// 跳转存储设置界面【内部存储】
Intent intent = new Intent(Settings.ACTION_INTERNAL_STORAGE_SETTINGS);
startActivity(intent);

// 跳转 存储设置 【记忆卡存储】
Intent intent = new Intent(Settings.ACTION_MEMORY_CARD_SETTINGS);
startActivity(intent);

// 跳转语言选择界面【仅有English 和 中文两种选择】
Intent intent = new Intent(Settings.ACTION_LOCALE_SETTINGS);
startActivity(intent);

// 跳转位置服务界面【管理已安装的应用程序。】
Intent intent = new Intent(Settings.ACTION_LOCATION_SOURCE_SETTINGS);
startActivity(intent);

// 跳转到 显示设置选择网络运营商。
Intent intent = new Intent(Settings.ACTION_NETWORK_OPERATOR_SETTINGS);
startActivity(intent);

// 显示NFC共享设置。 【API 14及以上】
Intent intent = new Intent(Settings.ACTION_NFCSHARING_SETTINGS);
startActivity(intent);

// 显示NFC设置。这显示了用户界面,允许NFC打开或关闭。 【API 16及以上】
Intent intent = new Intent(Settings.ACTION_NFC_SETTINGS);
startActivity(intent);

// 跳转到备份和重置界面
Intent intent = new Intent(Settings.ACTION_PRIVACY_SETTINGS);
startActivity(intent);

// 跳转快速启动设置界面
Intent intent = new Intent(Settings.ACTION_QUICK_LAUNCH_SETTINGS);
startActivity(intent);

// 跳转到 搜索设置界面
Intent intent = new Intent(Settings.ACTION_SEARCH_SETTINGS);
startActivity(intent);

// 跳转到安全设置界面
Intent intent = new Intent(Settings.ACTION_SECURITY_SETTINGS);
startActivity(intent);

// 跳转到设置界面
Intent intent = new Intent(Settings.ACTION_SETTINGS);
startActivity(intent);

// 跳转到声音设置界面
Intent intent = new Intent(Settings.ACTION_SOUND_SETTINGS);
startActivity(intent);

// 跳转账户同步界面
Intent intent = new Intent(Settings.ACTION_SYNC_SETTINGS);
startActivity(intent);

// 跳转用户字典界面
Intent intent = new Intent(Settings.ACTION_USER_DICTIONARY_SETTINGS);
startActivity(intent);

// 跳转到IP设定界面
Intent intent = new Intent(Settings.ACTION_WIFI_IP_SETTINGS);
startActivity(intent);

// 跳转Wifi列表设置
Intent intent = new Intent(Settings.ACTION_WIFI_SETTINGS);
startActivity(intent);

你可能感兴趣的:(Android调用系统设置界面)