The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
Android Keyboard not showing
Thore Sittly
Guest

Hello
I am looking for a solution for a problem since weeks and cannot find a working solution.
I am programming Apps for Android with SDL2 and C/C++ with some JNI calls.
But I cannot get the keyboard showing up in the Emulator. I tried using SDL functions and Java functions but it has no effect.
Do you know how to open the android keyboard with an SDL renderer?
SDL_StartTextInput () does not seem to work.

Thank you in advance

Thore Sittly
--
http://www.disk-doktor.de
Android Keyboard not showing
hardcoredaniel
Guest

I remember having it working on real android devices with SDL_StartTextInput (). I can't say anything about emulators though. You aren't accidentally using one configured with "hardware keys" or "hardware keyboard" or whatever it was called? In that case I could imagine you would never see the on-screen keyboard Wink



---------- Původní zpráva ----------
Od: Thore Sittly
Komu:
Datum: 19. 10. 2016 8:24:41
Předmět: [SDL] Android Keyboard not showing
Quote:
Hello
I am looking for a solution for a problem since weeks and cannot find a working solution.
I am programming Apps for Android with SDL2 and C/C++ with some JNI calls.
But I cannot get the keyboard showing up in the Emulator. I tried using SDL functions and Java functions but it has no effect.
Do you know how to open the android keyboard with an SDL renderer?
SDL_StartTextInput () does not seem to work.

Thank you in advance

Thore Sittly
--
http://www.disk-doktor.de
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Android Keyboard not showing
Thore Sittly
Guest

Aw thank you!
per default, hardware keyboard is activated. It is labeled with "Enable keyboard input" but is meant as "Enable hardware keyboard input". So it was quite misleading.
Thank you so much!
Mit freundlichen Grüßen

Thore Sittly
Hard- und Software Support
Darrenstr. 86 | 72768 Reutlingen
| Tel.: 07121/1362078
http://www.disk-doktor.de


Am 19.10.2016 um 09:16 schrieb hardcoredaniel:

Quote:
I remember having it working on real android devices with SDL_StartTextInput (). I can't say anything about emulators though. You aren't accidentally using one configured with "hardware keys" or "hardware keyboard" or whatever it was called? In that case I could imagine you would never see the on-screen keyboard Wink



---------- Původní zpráva ----------
Od: Thore Sittly
Komu:
Datum: 19. 10. 2016 8:24:41
Předmět: [SDL] Android Keyboard not showing
Quote:
Hello
I am looking for a solution for a problem since weeks and cannot find a working solution.
I am programming Apps for Android with SDL2 and C/C++ with some JNI calls.
But I cannot get the keyboard showing up in the Emulator. I tried using SDL functions and Java functions but it has no effect.
Do you know how to open the android keyboard with an SDL renderer?
SDL_StartTextInput () does not seem to work.

Thank you in advance

Thore Sittly
--
http://www.disk-doktor.de
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


Quote:
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org