开发者

Sample DevicePolicyManager codes from Android 2.2 work?

开发者 https://www.devze.com 2023-01-14 12:21 出处:网络
Im looking for some sample codes to start with thanks, although i can read the api ,this will be a big help for othe开发者_JAVA技巧rs to help with a simple code.Taken from the API Demo:

Im looking for some sample codes to start with thanks, although i can read the api ,this will be a big help for othe开发者_JAVA技巧rs to help with a simple code.


Taken from the API Demo:

    // Password quality spinner choices
    // This list must match the list found in 
    // samples/ApiDemos/res/values/arrays.xml
    final static int mPasswordQualityValues[] = new int[] {
        DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED,
        DevicePolicyManager.PASSWORD_QUALITY_SOMETHING,
        DevicePolicyManager.PASSWORD_QUALITY_NUMERIC,
        DevicePolicyManager.PASSWORD_QUALITY_ALPHABETIC,
        DevicePolicyManager.PASSWORD_QUALITY_ALPHANUMERIC
    };

Ref: DeviceAdminSample.java

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号