开发者

open html file on sdcard with phonegap and jquery mobile

开发者 https://www.devze.com 2023-04-09 20:24 出处:网络
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

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

精彩评论

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