开发者

Sample DevicePolicyManager codes from Android 2.2 work?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜