crosswalk-project / crosswalk

A web runtime built on Chrome. This project is currently unmaintained.
https://crosswalk-project.org/blog/crosswalk-final-release.html
BSD 3-Clause "New" or "Revised" License
2.33k stars 652 forks source link

How to make input when XwalkView run on Android Presentation #4043

Open leonsaber opened 5 years ago

leonsaber commented 5 years ago

Hi:

I create the XwalkView run on my external extend display through Android Presentation. I need to find the solution which can help me to show soft-keyboard and make input through my phone screen when I click INPUT or TEXTAREA on the webpage. Is there any solution in XwalkView to do that? I have tried to through js interface to add onfocus() on all INPUTs and TEXTAREAs and create JS function to trigger Activity create an EditView and open soft-keyboard through TextWatcher listener to update js function to make text input, but this solution can not 100% cover all web page. So is there any suggestion to help me find better solutions? Thank you!