Open keyboard when device locked

Post your questions and help other users.

Moderator: Martin

Post Reply
Nemisorg
Posts: 6
Joined: 24 Nov 2017 09:17

Open keyboard when device locked

Post by Nemisorg » 25 Nov 2017 13:17

Hello everyone,

I am making a program to connect to a wifi network manually, and it work when the device is unlocked. But when the device is locked, the keyboard will not open up for the input dialog. Is there a way to still open the keyboard?

Device: Vernee Thor on Android 7.0 (mobile phone not-rooted)

PS: I am Dutch and sorry for my bad English.

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Open keyboard when device locked

Post by Desmanto » 25 Nov 2017 16:44

If device is locked, nothing will be shown, for security reason.
You have to unlocked it first, probably need to turn on screen, wait for a while and if you use swipe only, you can try dismiss keyguard.
viewtopic.php?f=5&t=6856

If you use password/pin locked, need to disable it first, and reenable it again after the flow finish.
Automagic need Device Admin permission to perform the unlocking function.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

Post Reply