언어 설정

Menu
Sites
Language
Downloading content from hosted web app

I am developing a hosted web application (like youtube) using ewk apis. I am not able to find out how to enable downloading of content (a video) from a page. The same link can be downloaded when accessed from the web browser.

Could someone in the know help me out ?

Thanks in advance

Responses

3 댓글
colin Rao

Hi,

Possible the curl lib can help you. You can search curl in help doc to check the details.

Jean Yang

Hi, 

There are some info for download content from Internet:

Download: Downloading Content from the Internet

https://developer.tizen.org/documentation/tutorials/native-application/content/download

https://developer.tizen.org/documentation/tutorials/web-application/tizen-features/content/download

Rajesh Rajesh

Hi,

 I agree, using those apis link can be downloaded and eventually I have to use it. However the problem I am faced with is getting a proper trigger for the download from the ewebkit. So far I have tried with

evas_object_smart_callback_add(ad->ewk_view, "policy,navigation,decide", _policy_navigation_decide_cb, ad);

evas_object_smart_callback_add(ad->ewk_view, "policy,response,decide", _policy_response_decide_cb, ad);

And in both cases I have not been able to get the download url.

I have provided following privileges to application download / internet / mediastorage / appmanager.launch / display / notification / datasharing

 

Thanks