How to load web page from data path?

How to load web page from data path?

BY 14 Jun 2013 Native Application Development

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.

Written by