WebAPI/InputMethod API with hardware keyboard: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
Line 36: Line 36:
If an input field is embedded in system app (i.e. there are only two levels: shell.html and system app) and gets the focus, we need to dispatch the events prior to system app (event target). Therefore, it will violate the prerequisite.
If an input field is embedded in system app (i.e. there are only two levels: shell.html and system app) and gets the focus, we need to dispatch the events prior to system app (event target). Therefore, it will violate the prerequisite.


'''Solution for now:'''
'''Short-term solution'''


Make these APIs be certified apps only and trust the build-in keyboard apps.
Make these APIs be certified apps only and trust the build-in keyboard apps.
''' Long-term solution'''
Move all UIs out of the system app


== Questions ==
== Questions ==


* Is it possible to detect the current hardware keyboard type? (e.g. qwerty or T9)
* Is it possible to detect the current hardware keyboard type? (e.g. qwerty or T9)
Confirmed users
133

edits