tags:

views:

24

answers:

1

Im looking for some sample codes to start with thanks, although i can read the api ,this will be a big help for others to help with a simple code.

A: 

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

BennySkogberg
actually i had the demo running and seems that they covered everything well.
mikedroid