Debian Codegraph @

examples/mobile/on_screen_keyboard/README.md

raw symbols SCIP
1 # On-screen keyboard test on Android
2
3 This is an example of using the on-screen keyboard on Android:
4
5 - tap edit to show the keyboard
6 - third edit shows password mode
7
8 To make the `TCastleEdit` receive focus and open on-screen keyboard correctly in your applications:
9
10 - Use `<service name="keyboard" />` in the `CastleEngineManifest.xml`
11 - Set `AutoOnScreenKeyboard` to `true` on the `TCastleEdit` instance (you can set it from the editor, or from code).
12 - If you want to focus the edit before user touches it, do it by `Edit1.Focused := true`
13
14 Using [Castle Game Engine](https://castle-engine.io/).
15
16 ## Building
17
18 Compile by:
19
20 - [CGE editor](https://castle-engine.io/editor). Just use menu items _"Compile"_ or _"Compile And Run"_.
21
22 - Or use [CGE command-line build tool](https://castle-engine.io/build_tool). Run `castle-engine compile` in this directory.
23
24 - Or use [Lazarus](https://www.lazarus-ide.org/). Open in Lazarus `on_screen_keyboard_standalone.lpi` file and compile / run from Lazarus. Make sure to first register [CGE Lazarus packages](https://castle-engine.io/lazarus).
25
26 - Or use [Delphi](https://www.embarcadero.com/products/Delphi). Open in Delphi `on_screen_keyboard_standalone.dproj` file and compile / run from Delphi. See [CGE and Delphi](https://castle-engine.io/delphi) documentation for details.