A
A
all230819922015-05-29 13:10:26
Android
all23081992, 2015-05-29 13:10:26

Is it possible to lock screen on android?

Hello.
Please tell me, is it possible to lock the screen on android from your application? (not turning off the screen, namely locking with a password that my application will install).
If possible, I would like to see a sample code
Thanks in advance

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
Ivan, 2015-05-29
@all23081992

Such applications will qualify as Locker and be added to anti-virus databases + it will not be allowed in Google Play.
Why do you need this?

A
Antony, 2015-05-29
@RiseOfDeath

Device administrators can do this. For example, in Kaspersky antivirus, the anti-theft function blocks the screen (and this was added to the playmarket, if anything) and can reset the password set on the phone (and generally disable the need to enter a password, fingerprints, face recognition, etc.)

O
Oleg Gamega, 2015-05-29
@gadfi

great without root ─ constantly in the background, see if your application is running, if not, start it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question