Languages

Menu
Sites
Language
webkit with native application

Hi Friends,

I need clarification of using webkit for calling native apis to develop the HTML5 web application.

My doubts:

1) Webkit is available with tizen sdk or we need to download separately. if so, where we need to download?

2) How to link webkit with our native c apis?

3) how to create java script apis from webkit for web based application?

4) HTML5 application how it will interact with javascript api that is given from webkit?

 

HTML5 web application -> javascript api->webkit-> native applicaiton             is this flow right???

 

 

 

 

 

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

Responses

3 Replies
Raghavendra Reddy Shiva
Hi karthick, Tizen's Core layer provides the Web runtime environment (a runtime for web applications) and it also includes webkit . What exaclty you want your application to access to, web API's or Native API's ? If both, then you might need to look for information on creating Hybrid apps. Tizen's web framework supports W3C/HTML5 specifications, Tizen Device APIs to access the device functionalities and also provides Web Runtime which facilitates execution of a web application. Below are the Web runtime API support on Tizen, 1) Tizen W3C APIs 2) Tizen Device APIs Refer below link for more details, https://developer.tizen.org/help/topic/org.tizen.web.appprogramming/html/basics_tizen_programming/web_runtime.htm So, if you are looking for specific device capabilities for web applications, then you might need to refer to supported Device API's. Thanks,
karthick kumar
Now I got your point that, Webkit is available with tizen sdk. I am having C apis. i need to expose those apis as javascript apis using webkit in such a way that, HTML5 application can be developed. To expose C apis, i need to use webkit IDL right? If i write IDL interfaces and build the webkit, it will automatically generated javascript apis. is it right? It means, my job is to write only Webkit IDL interface and build webkit. is it right?? please clarify.... Thanks karthick
Raghavendra Reddy Shiva
Yes, per our understanding you might need to write IDL files to expose WebCore interfaces. When you build WebKit, the code to bind WebCore implementations and JavaScriptCore interfaces is automatically generated. Thanks