0

I want execute native lock screen when my android application start. If the user put correct password the application keep running, but it is mistake, the application finish.

Anybody know how I do this ?

Thank´s

  • Did you tried 'DevicePolicyManager' or 'KeyGuardManager'? Something like this http://stackoverflow.com/questions/9724428/how-can-i-set-up-screen-lock-with-a-password-programmatically in another context. Use it in your case – Franklin Hirata Jun 17 '16 at 19:17

1 Answers1

0

so far I know that you will need to work on your manifest file for your applications' wake screen state.. just play with your manifest file, you will find it.

androCoder-BD
  • 498
  • 7
  • 13
  • The manifest is only parameter file. I think that is necessary execute the command in program to call lock screen in the point that I need. Anybody have a example this ? – Marcos Alves Jul 22 '13 at 18:40