I am trying to know whether a screen lock password is already present
or not, when my app has started.

case 1: If there is a screen lock password already... I would do the
locking (locknow()) using device manager and ask the user to login
again.

case 2: If there is no screen lock password.... i would ask user to
set a password using devicepolicymanager class.

But I was unable to know, how to check whether a screen lock password
is already present or not. is there any boolean returning method in
device manager api ?...i was unable any of such

I was able to know whether active admins are present or not....
now,can someone tell me how to know whether a screen lock password is
already present or not ...

Is it a secuirty thing that app developers are not allowed to find?

Is there a system level approach?

can device policy manager help me to get that info?

thanks in advance

-- 
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