Hey Joshua,

As long as this gets implemented by using DeviceStorage to read the HTML file 
from the sdcard you'll be fine.

If you try to read the file directly (using nsIFile) then it may work on older 
phones, but it definitely won't work on the newer phones (due to the way the 
permissions are setup).

Dave Hylands

----- Original Message -----
> From: "Joshua Smith" <joshua-sm...@verizon.net>
> To: "Hugh Tay" <h...@hadronization.com>, dev-b2g@lists.mozilla.org
> Sent: Monday, February 10, 2014 5:06:22 AM
> Subject: Re: [b2g] How do we use the browser to open web pages stored on the 
> SD card?
> 
> On 2/8/14, 9:33 AM, Hugh Tay wrote:
> > Anyhow, I'm looking for something that could load and render the HTML in
> > the web pages the way a browser would (e.g. FireFox for desktop), so if
> > you're looking to add similar functionality to your app perhaps we could
> > work something out?
> That functionality would not be hard to implement.  In fact, let me see
> if I can do it today :)
> 
> Prospector is currently in alpha, so it has a few issues like that. Our
> GitHub is https://github.com/Codexa/Prospector if you are interested.
> 
> - Josh
> _______________________________________________
> dev-b2g mailing list
> dev-b2g@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-b2g
> 
_______________________________________________
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to