1. 程式人生 > >Android開發之呼叫系統設定介面

Android開發之呼叫系統設定介面

1.系統設定介面

startActivity(new Intent(Settings.ACTION_SETTINGS));

2.當前應用的設定介面

Intent intent = new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS);
intent.setData(Uri.parse("package:" + getPackageName()));
startActivity(intent);

3.行動網路設定介面

startActivity(new Intent(Settings.ACTION_DATA_ROAMING_SETTINGS));


4.WIFI設定介面

startActivity(new Intent(Settings.ACTION_WIFI_SETTINGS));

5.藍芽設定介面

startActivity(new Intent(Settings.ACTION_BLUETOOTH_SETTINGS));

6.日期時間設定介面

startActivity(new Intent(Settings.ACTION_DATA_ROAMING_SETTINGS));

7.語言選擇設定介面

startActivity(new Intent(Settings.ACTION_LOCALE_SETTINGS));

8.聲音設定介面

startActivity(new Intent(Settings.

ACTION_SOUND_SETTINGS));

9.安全設定介面

startActivity(new Intent(Settings.ACTION_SECURITY_SETTINGS));