您好,欢迎来到二三四教育网。
搜索
您的当前位置:首页Android 'settings' comma

Android 'settings' comma

来源:二三四教育网

Input settings:

XXX:/ $ settings
usage:  settings [--user <USER_ID> | current] get namespace key
        settings [--user <USER_ID> | current] put namespace key value
        settings [--user <USER_ID> | current] delete namespace key
        settings [--user <USER_ID> | current] list namespace

'namespace' is one of {system, secure, global}, case-insensitive
If '--user <USER_ID> | current' is not given, the operations are performed on the system user.

'namespace' is one of {system, secure, global}, case-insensitive
For example:

settings put secure location_providers_allowed gps //Enable gps
settings put global encoded_surround_output 2 //Set surround as 'always'
settings get global encoded_surround_output //Output '2'
public static final int ENCODED_SURROUND_OUTPUT_AUTO = 0;
public static final int ENCODED_SURROUND_OUTPUT_NEVER = 1;
public static final int ENCODED_SURROUND_OUTPUT_ALWAYS = 2;

Copyright © 2019- how234.cn 版权所有 赣ICP备2023008801号-2

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务