Friday, November 30, 2012

[android-developers] Problem loading some web pages on some devices

I have some old 2.3 devices that just won't display some HTML pages which all other devices seem to work just fine. All the ones with problems show is a blank page.

The really odd thing is that if I copy the HTML file onto the phone, then do this:

            webview.loadUrl("file:///sdcard/page.html");

then it works just fine!

Why on earth it would work when locally yet not work when loaded from the Internet I do not know.

Anyone run into this before and if so, how did you get around it?

--
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
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate