hi grace,
I could do it by copying the index.html file in Browser/assets directory and
modified private String homeUrl = "file:///android_asset/index.html"; in
BrowserSettings.java file.

where does html viewer resides an android?
-vinay H

On Tue, Jan 20, 2009 at 12:51 AM, Grace Kloba <[email protected]> wrote:

>
> As you found out, you can't open local files in the browser. But you
> can open it with HTMLViewer.
>
> On Sun, Jan 18, 2009 at 11:37 PM, vinay H <[email protected]> wrote:
> >
> > Hi,
> > How to load simple html file present in sdmmc card from web browser.
> > It is mentioned in the net that due to security reasons this is not
> > allowed. Is there any way to access the file from sdcard?
> >
> > Tried modifying private String homeUrl = "file:///sdcard/index.html";
> > in BrowserSettings.java file but browser throws an error "could not be
> > loaded".
> >
> > -vinayh
> >
> > >
> >
>
>
>
> --
> thanks,
> Grace
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to