android.provider.Settings黄伊。
-
ACTION_ACCESSIBILITY_SETTINGS : // 跳轉(zhuǎn)系統(tǒng)的輔助功能界面
Intent intent = new Intent(Settings.ACTION_ACCESSIBILITY_SETTINGS); startActivity(intent);
-
ACTION_ADD_ACCOUNT : // 顯示添加帳戶創(chuàng)建一個(gè)新的帳戶屏幕。【測(cè)試跳轉(zhuǎn)到微信登錄界面】
Intent intent = new Intent(Settings.ACTION_ADD_ACCOUNT); startActivity(intent);
-
ACTION_AIRPLANE_MODE_SETTINGS: // 飛行模式,無線網(wǎng)和網(wǎng)絡(luò)設(shè)置界面
Intent intent = new Intent(Settings.ACTION_AIRPLANE_MODE_SETTINGS); startActivity(intent);
或者:
ACTION_WIRELESS_SETTINGS :
Intent intent = new Intent(Settings.ACTION_WIFI_SETTINGS); startActivity(intent);
-
ACTION_APN_SETTINGS: // 跳轉(zhuǎn) APN設(shè)置界面
Intent intent = new Intent(Settings.ACTION_APN_SETTINGS); startActivity(intent);
-
【需要參數(shù)】 ACTION_APPLICATION_DETAILS_SETTINGS: // 根據(jù)包名跳轉(zhuǎn)到系統(tǒng)自帶的應(yīng)用程序信息界面
Uri packageURI = Uri.parse("package:" + "com.tencent.WBlog"); Intent intent = new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS,packageURI); startActivity(intent);
-
ACTION_APPLICATION_DEVELOPMENT_SETTINGS : // 跳轉(zhuǎn)開發(fā)人員選項(xiàng)界面
Intent intent = new Intent(Settings.ACTION_APPLICATION_DEVELOPMENT_SETTINGS); startActivity(intent);
-
ACTION_APPLICATION_SETTINGS : // 跳轉(zhuǎn)應(yīng)用程序列表界面
Intent intent = new Intent(Settings.ACTION_APPLICATION_SETTINGS); startActivity(intent);
或者:
ACTION_MANAGE_ALL_APPLICATIONS_SETTINGS // 跳轉(zhuǎn)到應(yīng)用程序界面【所有的】
Intent intent = new Intent(Settings.ACTION_MANAGE_ALL_APPLICATIONS_SETTINGS); startActivity(intent);
或者:
ACTION_MANAGE_APPLICATIONS_SETTINGS :// 跳轉(zhuǎn) 應(yīng)用程序列表界面【已安裝的】
Intent intent = new Intent(Settings.ACTION_MANAGE_APPLICATIONS_SETTINGS); startActivity(intent);
-
ACTION_BLUETOOTH_SETTINGS : // 跳轉(zhuǎn)系統(tǒng)的藍(lán)牙設(shè)置界面
Intent intent = new Intent(Settings.ACTION_BLUETOOTH_SETTINGS); startActivity(intent);
-
ACTION_DATA_ROAMING_SETTINGS : // 跳轉(zhuǎn)到移動(dòng)網(wǎng)絡(luò)設(shè)置界面
Intent intent = new Intent(Settings.ACTION_DATA_ROAMING_SETTINGS); startActivity(intent);
-
ACTION_DATE_SETTINGS : // 跳轉(zhuǎn)日期時(shí)間設(shè)置界面
Intent intent = new Intent(Settings.ACTION_DATA_ROAMING_SETTINGS); startActivity(intent);
-
ACTION_DEVICE_INFO_SETTINGS : // 跳轉(zhuǎn)手機(jī)狀態(tài)界面
Intent intent = new Intent(Settings.ACTION_DEVICE_INFO_SETTINGS); startActivity(intent);
-
ACTION_DISPLAY_SETTINGS : // 跳轉(zhuǎn)手機(jī)顯示界面
Intent intent = new Intent(Settings.ACTION_DISPLAY_SETTINGS); startActivity(intent);
-
ACTION_DREAM_SETTINGS 【API 18及以上 沒測(cè)試】
Intent intent = new Intent(Settings.ACTION_DREAM_SETTINGS); startActivity(intent);
-
ACTION_INPUT_METHOD_SETTINGS : // 跳轉(zhuǎn)語言和輸入設(shè)備
Intent intent = new Intent(Settings.ACTION_INPUT_METHOD_SETTINGS); startActivity(intent);
-
ACTION_INPUT_METHOD_SUBTYPE_SETTINGS 【API 11及以上】 // 跳轉(zhuǎn) 語言選擇界面 【多國(guó)語言選擇】
Intent intent = new Intent(Settings.ACTION_INPUT_METHOD_SUBTYPE_SETTINGS); startActivity(intent);
-
ACTION_INTERNAL_STORAGE_SETTINGS // 跳轉(zhuǎn)存儲(chǔ)設(shè)置界面【內(nèi)部存儲(chǔ)】
Intent intent = new Intent(Settings.ACTION_INTERNAL_STORAGE_SETTINGS); startActivity(intent);
或者:
ACTION_MEMORY_CARD_SETTINGS : // 跳轉(zhuǎn) 存儲(chǔ)設(shè)置 【記憶卡存儲(chǔ)】
Intent intent = new Intent(Settings.ACTION_MEMORY_CARD_SETTINGS);
startActivity(intent);
-
ACTION_LOCALE_SETTINGS : // 跳轉(zhuǎn)語言選擇界面【僅有English 和 中文兩種選擇】
Intent intent = new Intent(Settings.ACTION_LOCALE_SETTINGS); startActivity(intent);
ACTION_LOCATION_SOURCE_SETTINGS : // 跳轉(zhuǎn)位置服務(wù)界面【管理已安裝的應(yīng)用程序宣决〕衅#】 Intent intent = new Intent(Settings.ACTION_LOCATION_SOURCE_SETTINGS); startActivity(intent);
-
ACTION_NETWORK_OPERATOR_SETTINGS : // 跳轉(zhuǎn)到 顯示設(shè)置選擇網(wǎng)絡(luò)運(yùn)營(yíng)商。
Intent intent = new Intent(Settings.ACTION_NETWORK_OPERATOR_SETTINGS); startActivity(intent);
-
ACTION_NFCSHARING_SETTINGS : // 顯示NFC共享設(shè)置戴甩。 【API 14及以上】
Intent intent = new Intent(Settings.ACTION_NFCSHARING_SETTINGS); startActivity(intent);
-
ACTION_NFC_SETTINGS : // 顯示NFC設(shè)置。這顯示了用戶界面,允許NFC打開或關(guān)閉闪彼。 【API 16及以上】
Intent intent = new Intent(Settings.ACTION_NFC_SETTINGS); startActivity(intent);
-
ACTION_PRIVACY_SETTINGS : // 跳轉(zhuǎn)到備份和重置界面
Intent intent = new Intent(Settings.ACTION_PRIVACY_SETTINGS); startActivity(intent);
-
ACTION_QUICK_LAUNCH_SETTINGS : // 跳轉(zhuǎn)快速啟動(dòng)設(shè)置界面
Intent intent = new Intent(Settings.ACTION_QUICK_LAUNCH_SETTINGS); startActivity(intent);
-
ACTION_SEARCH_SETTINGS : // 跳轉(zhuǎn)到 搜索設(shè)置界面
Intent intent = new Intent(Settings.ACTION_SEARCH_SETTINGS); startActivity(intent);
-
ACTION_SECURITY_SETTINGS : // 跳轉(zhuǎn)到安全設(shè)置界面
Intent intent = new Intent(Settings.ACTION_SECURITY_SETTINGS); startActivity(intent);
-
ACTION_SETTINGS : // 跳轉(zhuǎn)到設(shè)置界面
Intent intent = new Intent(Settings.ACTION_SETTINGS); startActivity(intent);
-
ACTION_SOUND_SETTINGS // 跳轉(zhuǎn)到聲音設(shè)置界面
Intent intent = new Intent(Settings.ACTION_SOUND_SETTINGS); startActivity(intent);
-
ACTION_SYNC_SETTINGS : // 跳轉(zhuǎn)賬戶同步界面
Intent intent = new Intent(Settings.ACTION_SYNC_SETTINGS); startActivity(intent);
ACTION_USER_DICTIONARY_SETTINGS : // 跳轉(zhuǎn)用戶字典界面 Intent intent = new Intent(Settings.ACTION_USER_DICTIONARY_SETTINGS); startActivity(intent);
ACTION_WIFI_IP_SETTINGS : // 跳轉(zhuǎn)到IP設(shè)定界面 Intent intent = new Intent(Settings.ACTION_WIFI_IP_SETTINGS); startActivity(intent);
ACTION_WIFI_SETTINGS : // 跳轉(zhuǎn)Wifi列表設(shè)置
跳轉(zhuǎn)方式
Intent intent = new Intent(Settings.*********);
startActivity(intent);
- 跳轉(zhuǎn)到應(yīng)用市場(chǎng)
/**
* 根據(jù)應(yīng)用包名甜孤,跳轉(zhuǎn)到應(yīng)用市場(chǎng)
*
* @param activity 承載跳轉(zhuǎn)的Activity
* @param packageName 所需下載(評(píng)論)的應(yīng)用包名
*/
public static void shareAppShop(Activity activity, String packageName) {
try {
Uri uri = Uri.parse("market://details?id="+ packageName);
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
activity.startActivity(intent);
} catch (Exception e) {
Toast.makeText(activity, "您沒有安裝應(yīng)用市場(chǎng)", Toast.LENGTH_SHORT).show();
}
}