none
UWP App: WebView + On-Screen Keyboard RRS feed

  • Question

  • Need help getting a custom OSK to interact with a WebView form.

    We are using the following source code sample for the On Screen Keyboard:

    https://code.msdn.microsoft.com/windowsapps/UWP-Custom-On-Screen-8fd8415e

    The App works for entering data in controls (text boxes, etc.) but interacting with WebView Control is quite limited.

    Note: Have already reviewed this https://docs.microsoft.com/en-us/uwp/api/windows.ui.xaml.controls.webview but documentation is woefully limited.

    Are there any known OSK solutions for interacting with directly with a WebView (Edge engine) form?

    Or sample code where someone has already achieved this?

    Thanks!

    • Moved by CoolDadTx Monday, July 15, 2019 2:09 PM UWA related
    Sunday, July 14, 2019 12:18 AM

All replies

  • Hi Hodgini,

    Thank you for posting here.

    For your question, I want to confirm if your UWP app runs on IOT devices.

    We will be appreciated if you provided the above information.

    Best Regards,

    Jack


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, July 15, 2019 2:54 AM
  • It will be running on windows 10 1903 Desktop software.
    Monday, July 15, 2019 2:41 PM
  • Hi,

    We do recommend to use the touch keyboard from the system instead of third party libraries for your app. You could call it using this line of code:

    InputPane.GetForCurrentView().TryShow();

    The touch keyboard is as the same as real keyboard. If this still could not meet your requirement, you might need to look for other third party libraries yourself.

    Best regards,

    Roy


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Tuesday, July 16, 2019 6:59 AM
    Moderator
  • Thx Rob,

    Is this compatible with Assigned Access (Kiosk) mode?

    Does this also launch the native Win10 OSK ?

    Can't even get the native OSK to launch.   Grrrr

    Wednesday, July 17, 2019 10:39 PM
  • Touch keyboard isn't On-Screen Keyboard. They are different things. The code works well for touch keyboard. 
    Thursday, July 18, 2019 3:29 AM