android.provider.Settings.System.getInt(
                        mContentResolver,
                        Settings.System.LOCK_PATTERN_ENABLED, 0) == 1;

This should give you boolean value, whether PATTERN is enabled or not.

On Tue, Feb 16, 2010 at 4:00 AM, paladin <[email protected]> wrote:

> Is there a way, some API one can call to detect if the user has set a
> screen unlock pattern or not?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
...Swapnil

|| Hare Krishna Hare Krishna Krishna Krishna Hare Hare ||
|| Hare Rama    Hare Rama   Rama   Rama    Hare Hare ||

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to