Tuesday, June 8, 2010

[android-developers] Any chance to deactivate the lock pattern in Froyo from code?

Hello.

I provide a small tool called PatternControl via the market that give
the users the opportunity to temporary deactivate the Android "lock
pattern" for a definable amount of time. With other words: After
entering the pattern, the pattern becomes deactivated for i.e. 5mins
and re activates it self afterwards.

Until now (Android < 2.2) this was only possible by changing the
settings directly, because there was no related API provided.
(i.e.with something like
setBoolean(Settings.System.LOCK_PATTERN_ENABLED, enabled))
It is clear that this in not a good way, but from my knowledge there
was no alternative.

My hope was, that Froyo would introduce a new API to handle things
like that "legally".
With the new security model of Android 2.2 writing to this kind of
settings is now disallowed and the PolicyManager class seems just to
offer password complexity options.

So here is my question:
Is there still any way to temporary deactivate the "lock pattern" as
long as Android does not support such a delay functions natively?

Thanks for you answer & Best regards
Lars

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

No comments:

Post a Comment