开发者

open html file on sdcard with phonegap and jquery mobile

i have some HTML files that users can download in runtime to sdcard. Now i want to create a link in my app to open those files. The prob开发者_开发百科lem is, i do not know what i should write in href property of the link tags to open the HTML files on sdcard

can anyone help me?


In the congif.xml file from my Blackberry app project locate on:

C:\Dev\phonegap\BlackBerry-WebWorks\<project_folder>\www

there are this lines:

  <!-- PhoneGap API -->
  <access subdomains="true" uri="file:///store/home" />
  <access subdomains="true" uri="file:///SDCard" />

That config is granting access to those URI/resources, i think you can play around with that.

I have no idea how will be this URI on other plataforms, but is a good point to start the testing,

Good Luck!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜