赞
踩
1 需求
2 语法
- Settings provider (settings) commands:
- help
- Print this help text.
- get [--user <USER_ID> | current] NAMESPACE KEY
- Retrieve the current value of KEY.
- put [--user <USER_ID> | current] NAMESPACE KEY VALUE [TAG] [default]
- Change the contents of KEY to VALUE.
- TAG to associate with the setting.
- {default} to set as the default, case-insensitive only for global/secure namespace
- delete NAMESPACE KEY
- Delete the entry for KEY.
- reset [--user <USER_ID> | current] NAMESPACE {PACKAGE_NAME | RESET_MODE}
- Reset the global/secure table for a package with mode.
- RESET_MODE is one of {untrusted_defaults, untrusted_clear, trusted_defaults}, case-insensitive
- list NAMESPACE
- Print all defined keys.
- NAMESPACE is one of {system, secure, global}, case-insensitive
3.X 示例
adb shell cmd settings list system
3.x 示例
adb shell cmd settings list secure
3.X 示例
adb shell cmd settings list global
4 参考资料
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。