Languages

Menu
Sites
Language
How to load web page from data path?

I try to load "file://{app_data_path}/index.html" as url in web control(app_data_path is full path for the data of app, eg. /opt/apps/appid/data), but it always seems not work. I had set the web.service privilege. Thanks.

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

Responses

3 Replies
john Smith
Hi, Keep the file in accessible folder like data, after that try to use GetAppDataPath, It will works.
Chan
Hi, Thanks, but I also do it like you write, but it's not work.
john Smith
Hi, Check this link https://developer.tizen.org/documentation/articles/web-control-tizen