Hello There,
I am using the ApiDemo sample application. I am trying to understand how 
the DeviceAdminInfo and the DevicePolicyManager work. I want to add a new 
mechanism programatically to lock the screen. I was wondering if someone 
could guide me in the right direction.

Attached is the screen shot of the Unlock Selection Screen when we navigate 
to API Demos -> App -> Device Admin -> Password Quality -> Set Password

None
Slide
Pattern
PIN
Password
??

Is it possible to add a new item in this list E.g. Wifi and give some 
settings to lock the screen on Wifi.

I want to lock the screen if the phone is not in a particular WiFi area. 
Need to give an SSID as the unlock policy. Is there a way to do it ?

Any help would be appreciated.

thanks
Dom

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

<<attachment: unlock_selection.png>>

Reply via email to