0
Hello, I have an application where the user receives a screen from time to time that requests confirmation whether or not to accept a service.
Some of these users use the phone with the lock screen enabled and complain that to answer have to unlock the phone to only reply.
I knew that some apps can override the lock screen so that the user responds, but I have no idea how to implement this in my app, someone could give me a light, because I did not find anything in Google about it. From now on I thank you all.
If the user uses PIN or Security Design, I don’t think this is possible, because they can generate security holes if you leave access to the virtual keyboard.
– Carlos Bridi
Ola Carlos, does not use keyboard no, only a screen yes or no.
– Luciano Coelho
Why don’t you implement with Notification? You can customize and put the buttons on it.
– Carlos Bridi
Good guy, already an option.
– Luciano Coelho
I would do so, oh: if you need to warn from time to time, logically you will have to use a service, then, as it is a service, in it you can check if the screen is blocked, and if so, pausing the firing of the warning in the service to wait for the user to naturally unlock the screen and then display the warning to the face, thus solving the usability problem, unless the warning has to be displayed at exactly a specific fixed time.
– Armando Marques Sobrinho
Armando thanks for the tip, but the user has 20 seconds to respond to the call when the app detects q the service was sent to him, so I have no way to delay the firing of the warning, but thanks for responding.
– Luciano Coelho