Open/Enable keyboard input on smartphones

Emscripten, WASM, and asm.js related questions
Post Reply
linuxanddos
Posts: 14
Joined: Oct 28, 2023 13:31

Open/Enable keyboard input on smartphones

Post by linuxanddos »

Hallo FreeBasic community,
First things first: Thank you for all the support and for creating and improving FreeBasic!

How can I tell a Android/iOS device to open the build in keyboard when my program is waiting for some keyboard input?

The scenario:

* You open the emscripten version of my program in a web browser on Android or iOS.
* After some time, you should type a levelcode to proceed.
* At this point, the build in keyboard should appear.
* If you have accidentally closed the keyboard, it should be opened again.
* If you completed entering the code, the keyboard should disappear.

Regards
linuxanddos
linuxanddos
Posts: 14
Joined: Oct 28, 2023 13:31

Re: Open/Enable keyboard input on smartphones

Post by linuxanddos »

Ok, it seems like the best answer for this is to implement my own build-in keyboard for my application.

All other solutions I found online are just dirty hacks that does not work on modern browsers.
Post Reply