언어 설정

Menu
Sites
Language
Web app to native app communication or vice versa

Hi All,

I want to know whether web app to native app or vice versa communication (passing messages or data ) is possible Tizen ? All I know is web app to web app communication is possible through Application service api. But I couldn't figure it out for "web -> native" and "native -> web".

Please let me know any ways to do so if it is possible in tizen.

Thanks in advance.

Edited by: Brock Boland on 17 3월, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

1 댓글
Raghavendra Reddy Shiva
Hi kamalakar Garikina, Yes, the same application service API provides the methods to send the data as Parameters for the launched native application. Below is how "tizen.application.launch()" method looks like, void launch(ApplicationId id, optional SuccessCallback? successCallback, optional ErrorCallback? errorCallback, optional DOMString[]? argument); The parameters are, The application identifier. The success callback, called when the launch was successful. The error callback, called in case of errors (optional). Parameters for the launched application (optional). The last parameter which is optional is the argument to be passed to the launched application. This parameter can be used to transfer data to the native app (or web app) to be launched. Refer here for more info, in application API, Under "Platform services" (https://developer.tizen.org/help/topic/org.tizen.web.appprogramming/Application%20Service.html) And the detailed Device API information is available at https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html