Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

android display input information problem #2779

Open
hanxiaohuivc opened this issue Apr 27, 2023 · 0 comments
Open

android display input information problem #2779

hanxiaohuivc opened this issue Apr 27, 2023 · 0 comments

Comments

@hanxiaohuivc
Copy link

hanxiaohuivc commented Apr 27, 2023

Hello everyone. I try to display the information entered by the soft keyboard on android (I use the agdk-egui project), and I have the soft keyboard pop up in the "Touch" response:

winit::event::WindowEvent::Touch(touch) => {
     if touch.phase == TouchPhase::Started {
        app.show_soft_input(true);
    }
}

But there is no corresponding character displayed on the egui when entering information on the keyboard. I saw the response of InputEvent::KeyEvent implemented in the android/mod module of winit. May I ask: 1. How to realize the input response function on android? Is there a corresponding example? 2. It seems that there is no Chinese display on android, is it? Will there be a related support plan in the near future? Are there other solutions that can support displaying Chinese? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants