android debug cmd - settings
2021/09/30 10:41
瀏覽161
迴響0
推薦0
引用0
settings put global bluetooth_on 0
settings put global bluetooth_on 1
settings get global bluetooth_on
adb shell settings list system
Android Settings provider (system namespace)
adb shell settings get system volume_system
Get current system volume level in Android.
adb shell settings get system notification_sound
Get current system notification sound in Android.
adb shell settings list secure
Android Settings provider (secure namespace)
adb shell settings get secure android_id
Find Android Device Identifier(Device Id)
adb shell settings get secure bluetooth_address
Find Bluetooth MAC address in android.
adb shell settings list global
Android Settings provider (global namespace)
adb shell settings get global mobile_data
Get current mobile data status in Android.
adb shell settings get global wifi_on
Get current WiFi status in Android.
=========== =========== =========== ===========
可以設定或取得的資訊有
http://developer.android.com/reference/android/provider/Settings.System.html
範例:
.取得目前 screen_off_timeout
settings get system screen_off_timeout
604800000
.設定 screen_off_timeout
settings put system screen_off_timeout 4800000
.取消 screen_brightness_mode , 設定背光 screen_brightness
settings put system screen_brightness_mode 0
settings put system screen_brightness 50
settings put global bluetooth_on 1
settings get global bluetooth_on
adb shell settings list system
Android Settings provider (system namespace)
adb shell settings get system volume_system
Get current system volume level in Android.
adb shell settings get system notification_sound
Get current system notification sound in Android.
adb shell settings list secure
Android Settings provider (secure namespace)
adb shell settings get secure android_id
Find Android Device Identifier(Device Id)
adb shell settings get secure bluetooth_address
Find Bluetooth MAC address in android.
adb shell settings list global
Android Settings provider (global namespace)
adb shell settings get global mobile_data
Get current mobile data status in Android.
adb shell settings get global wifi_on
Get current WiFi status in Android.
=========== =========== =========== ===========
可以設定或取得的資訊有
http://developer.android.com/reference/android/provider/Settings.System.html
範例:
.取得目前 screen_off_timeout
settings get system screen_off_timeout
604800000
.設定 screen_off_timeout
settings put system screen_off_timeout 4800000
.取消 screen_brightness_mode , 設定背光 screen_brightness
settings put system screen_brightness_mode 0
settings put system screen_brightness 50
你可能會有興趣的文章:
限會員,要發表迴響,請先登入