I'm developing an application that needs to unlock the phone in a certain moment, I know this can be done by using the KeyguardManager, Here is a way for doing this, but I'm using API 16 and AndroidLint tells me that this is deprecated. So, is there any NEW way of handling this in the newest APIs?.
Asked
Active
Viewed 94 times
0
-
1Have you tried looking at [the KeyguardManager documentation](http://developer.android.com/reference/android/app/KeyguardManager.html)? – Dan Hulme Oct 31 '12 at 18:58
-
Just because it's deprecated - does not mean it can't be used IMO. Android must be backwards compatible. I would just test it on a real device or a few of them. – Yar Oct 31 '12 at 18:59
-
I'm just asking for better/newest ways of doing this, I never said it can't be used IMO. – Daniel Conde Marin Oct 31 '12 at 19:04