Skip to content

Text input on Android: toggle soft keyboard #408

@max22-

Description

@max22-

Hi,
I am trying to port a project i am working on to Android (a little programming environment based on Lua + Dear Imgui). imgui_bundle looks fantastic to do that !

Maybe i am missing something, but the soft keyboard doesn't toggle when it needs to. I have tested with imgui_bundle_template, added an ImGuiColorTextEdit widget, and an InputTextMultiline.

I've managed to get it working (with the help of chatGPT... because android is not really my cup of tea :s). If you want i can share the little piece of code (a java method to toggle the keyboard, and a jni wrapper to call it). But you will probably come up with something better !

imgui_bundle_template commit : 771fb9e103a39b60713a275f2142dabab604eff0
imgui_bundle commit : 55b2cd3

platform : Debian testing, compiling for android
language : C++
compiler: gcc 15.2.0
backend : SDL2 + OpenGL

btw, thank you very much for your online imgui manual. i use it all the time !

Metadata

Metadata

Assignees

No one assigned

    Labels

    faqA frequent issue, remaining opened to facilitate discoverability

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions