N
N
Nikita2017-08-05 19:12:38
Java
Nikita, 2017-08-05 19:12:38

Is it possible to handle the screen unlock event?

For example, so that immediately after unlocking the screen, the application starts in the background?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
O
one pavel, 2017-08-05
@onepavel

no such scenario

A
Alexander Varakosov, 2017-08-06
@thelongrunsmoke

In general, you can use the USER_PRESENT broadcast. But there are many pitfalls, for example, custom launchers cannot generate it.
It is more likely that you have problems with the application script.

D
Dmitry Milyutin, 2017-08-08
@AventuR

For the application to work in the background, there is a Service
Class android.app.Service

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question