Browser does not support viewing local files...

On Tue, Aug 19, 2008 at 12:38 AM, Peli <[EMAIL PROTECTED]> wrote:

>
> Is it possible to open a local file in the browser?
>
> In the Android browser, I tried menu / go to:
> file:///sdcard/test.html
>
> I always receive the error message:
> "Web page not available.
> The web page at file:///sdcard/test.html could not be loaded as:
> The requested file was not found."
>
> even though the files exist in /sdcard/test.html.
> Do I have to use a different URL, or put files into a different
> folder?
>
> Peli
>
> PS: From within an application, there seems to be a way to load local
> files:
>
> "The prefix "file:///android_asset/" will cause WebView to load
> content from the current application's assets folder."
> http://code.google.com/android/reference/android/webkit/WebView.html
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to