Languages

Menu
Sites
Language
How to get the webview content.

I am able to open the web view but i want to access the content of web how can i do that.

 

Responses

4 Replies
Alex Dem

Hi,
fyi: maybe you could use curl to get web content  via http requests:
https://developer.tizen.org/dev-guide/2.3.1/org.tizen.native.mobile.apireference/group__OPENSRC__CURL__FRAMEWORK.html
Alexey.

colin Rao

I don't find such API to get the content of webview directly from the help doc. As Alex suggestion, you can get the web content by using Curl API directly.

Another tricky workaround, the webview support to register and execute javascript code, you can write the javascript function the query the html content and return the content. 

But, suggest to using the Curl API. 

Palitsyna

Hello,

you can get more information about curl here: http://curl.haxx.se/libcurl/

You can also try to ask your curllib related question in their mailing list: http://curl.haxx.se/mail/list.cgi?list=curl-library

Hope they will give you quick response.

Alex Dem

afaik for WebView, in some cases, you could try to use
ewk_view_url_get to get url (there could be some important info as tokens)
Alexey.