Search code examples
keyboardtizensamsung-gear

Gear S3 Tizen : How to get keyboard input


I would like to provide a reply functionality in my application (Web Tizen 2.3.2). I am currently able to get the keyboard to pop up if I add an <input>, however it would be much better if I could implement the same thing as Samsung uses. Many Samsung apps use it. It must be a built-in functionality in Tizen OS.

Here is a screenshot of what I am talking about. I would like to be able to display this same exact screen when I press reply in my own application, just like few Samsung apps does on the watch or replying to a notification enter image description here

Thank you


Solution

  • i found the guide to display the keyboard as you want.

    check the session: Input Delegator in Wearable Applications Web version

    check the session: Input Delegator in Wearable Applications Native version

    Try this:

    var appControl = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/get_input", null, null, null, null, null);
    tizen.application.launchAppControl(appControl, null, function() {
        console.log("launch application control succeed");
        }, function(e) {
            console.log("launch application control failed. reason: " + e.message);}, null);
    

    You can also call only the voice input, for example.