> what is working for you?  I could find no real examples of any code
> using WebView to load a page from the internet.

What you have should work fine other than the catch block. My example in
my book is similar to your implementation, minus the try/catch block, and
using http://commonsware.com as the URL. Works like a champ. Moreover,
based on the logcat output, yours works fine for you -- leastways, those
DEBUG/browser messages at the end sure make it sound like the browser
loaded a page.

Your catch block probably should use android.util.Log.e() to dump the
results to the logcat output. Unless you're following the instructions for
redirecting stdout/stderr to logcat per:

http://code.google.com/android/reference/adb.html#stdout

Try loading a different Web page other than the Google home (which has a
lot of whitespace and so the "meat" of the page might need to be scrolled
into view), and see if your catch block actually catches an error that
might offer a clue. If that doesn't help, write back with your symptoms.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
The Busy Coder's Guide to Android Development -- coming in June 2008!


--~--~---------~--~----~------------~-------~--~----~
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 M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to