语言

Menu
Sites
Language
Text Input from Web watch-face application.

How to perform text input from web watch-face application.

I tried to use javascript "prompt" method but it is very laggy when called from watch-face application: for example space and backspace buttons does not wotk.

It works well when called from standard web app, so it seems making a separate dummy application that will simply call "prompt" will help but obviously such app will not pass market validation.

 

Thank you.

响应

1 回复
Iqbal Hossain

Hi~

You need to use <input> tag to open default keyboard of Gear. In that case it will be okay i think. If you don't want to show that input in your watch face, you can hide it, and click programmatically on that input when you need the Keyboard to type. 

And you also can design your own keyboard using IME (Input Method Editor) applications. 

To know more about IME  goto

https://developer.tizen.org/ko/development/guides/web-application/text-input/ime-application?langredirect=1

Hope it will help you. 

-Thank