Answer the question
In order to leave comments, you need to log in
How to make the application send a certain Notification when trying to unlock the device?
Actually, the essence of the question is simple. How to make the application "see" the moment when the user tries to unlock the device or simply activates the screen.
Answer the question
In order to leave comments, you need to log in
It seems to me that the combination of intentions will Intent.ACTION_USER_PRESENT
save the Intent.ACTION_SCREEN_ON
father of Russian democracy. :) Register a custom handler for them in the manifest, and send a notification from it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question