Android Question lock screen with app running in kiosk-mode

fransvlaarhoven

Active Member
Licensed User
Longtime User
Hello,

I have a problem when running an application in kiosk-mode.
As such, all works fine. However, when the user manually locks the screen or the screen is switched off automatically, no password is asked when the screen is switched on again and the Phone returns directly to the application. Is it possible to force the application to ask for the screen password before continuing?
 

fransvlaarhoven

Active Member
Licensed User
Longtime User
I've already tried that: this locks the screen but when switching the screen back on, no password is asked and the Phone returns to the app without asking for the screen password.
The only thing i found up to now that seems to work is in activity_pause unlocking the app when userclosed= false. This seems to work but now i have to build it into a bigger application and verify that it works.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…