disable VirtualKeyboard on Android

241 views
Skip to first unread message

Alexey Smishlayev

unread,
May 25, 2013, 12:05:25 PM5/25/13
to kivy-...@googlegroups.com
Hello!
I use .request_keyboard() in my application to catch keyboard events, but I want to disable virtual keyboard from appearing, when I run on Android. The reason is I'm using external USB keyboard in my app.
I've triedputting
[kivy]
keyboard_mode
=system
in config.ini file I load into Config instance, but with no success.

Best regards,
Alexey

Yurij Mikhassiak

unread,
May 26, 2013, 10:45:13 PM5/26/13
to kivy-...@googlegroups.com
I think it's possible to install one of soft keyboards from play store wich support functionality you need. Nullkeyboard or anysoftkeyboard is an option for you.

did you try folloving way?

from kivy.config import Config
Config.set('kivy', 'keyboard_mode', 'system')
Config.write()

Regards, Yurij



Субота, 25 травня 2013 р. 19:05:25 UTC+3 користувач Alexey Smishlayev написав:

Mathieu Virbel

unread,
May 27, 2013, 6:37:49 AM5/27/13
to kivy-...@googlegroups.com
That's interesting.

How android act when a keyboard is plugged ? Is others apps (gmail,
twitter, dunno) show a virtual keyboard when you try to enter text too ?



Le 25/05/2013 18:05, Alexey Smishlayev a �crit :
> --
> You received this message because you are subscribed to the Google
> Groups "Kivy users support" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to kivy-users+...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Alexey Smishlayev

unread,
May 27, 2013, 5:25:28 PM5/27/13
to kivy-...@googlegroups.com
Hello, Mathieu!
Sorry, my bad! I thought it was a Kivy or Android bug, but keyboard was not properly attached.
When physical keyboard is plugged in, VKeyboard disappears, and everything goes well, thank you.

Best regards,
Alexey Smishlayev


On Monday, May 27, 2013 1:37:49 PM UTC+3, Mathieu Virbel wrote:
That's interesting.

How android act when a keyboard is plugged ? Is others apps (gmail,
twitter, dunno) show a virtual keyboard when you try to enter text too ?



Le 25/05/2013 18:05, Alexey Smishlayev a �crit :
Reply all
Reply to author
Forward
0 new messages