Languages

Menu
Sites
Language
[wearable] Can web IME communicate with native service app?

I'm developing wearable IME application, but suffering some problems.

 

I tried to send some messages from native service to web IME, but all of my trials were failed such as below :

 

1. App Control - Failed. If the native service sends app control to IME, full size of IME application is displayed and it does nothing. It seems to be unacceptable behavior.

2. Message Port - Failed. I used message_port_send_message() to send a messages via message port, but this function returns MESSAGE_PORT_ERROR_PORT_NOT_FOUND and failed to send messages.(I succeeded with it on non-IME web application, so I don't think that usage was wrong.)

 

Wearable native IME may be able to solve this problem, but as you know, it can be supported for Tizen 3.0 or later, and there are no Tizen 3.0 based wearable devices in the world yet.

 

Is it impossible to do that, or is there any other way to send some messages from native service to web IME?

 

Edited by: John Ixion on 06 Aug, 2017

Responses

3 Replies
Slawek Kowalski

Try to use MessagePort API.
 

GO U

As I stated, message port seems to do not work on web IME application. I requested message port on IME side and tried to send a data via message port, but natiave API returns MESSAGE_PORT_ERROR_PORT_NOT_FOUND. Same code worked well on non-IME app. Is message port supported for web IME app actually?