crosswalk-project/crosswalk

How to make input when XwalkView run on Android Presentation

Opened this issue · 0 comments

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!