Gear S3 Tizen : How to get keyboard input

1k Views Asked by At

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

3

There are 3 best solutions below

1
On BEST ANSWER

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.

1
On

You need to implement List UI control for showing these options.

1
On

Notification can be shown on Samsung Gear using Tizen Web Notification API.

var appControl = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/create_content", 
            null, "image/png", null, null);

    var notificationDict = 
    {
    /* Notification content */
    content: "Notification Content",
    /* Path to the notification icon */
    iconPath: "images/image1.png",
    /* Path to the sound file to be played when the notification is displayed */
    soundPath: "",
    /* Device vibrates when the notification is displayed */
    vibration: true, 
    /* Application control to be launched when the user selects the notification */
    appControl: appControl
    };

    var notification = new tizen.StatusNotification("SIMPLE", "Simple notification", notificationDict);

    tizen.notification.post(notification); 

But i could not add reply button using this API. I saw this feature on Samsung Rich Notification SDK. If your requirements meet with that you can use. enter image description here