Do you have the INTERNET permission in your AndroidManifest.xml file?
*****YES
Have you enabled Javascript in your WebView?
*****NO - I just looked in your book & it says to"Control Javascript
via setJavaScriptEnabled()
(to disable it outright)" on page 167 - where does one do that? - our app
has tons of Javascript! - I want to enable it, not disable it outright

Can you display any other Web pages from your WebView, or is the problem
limited to your own site?

*****The NY Times works fine with the same WebView code

Do the logs (adb logcat, etc.) show any errors?

*****Haven't tried


--

On Sat, Dec 20, 2008 at 5:36 AM, Mark Murphy <[email protected]>wrote:

>
> Keith Crozier wrote:
> > My application is an Android application which launches a web 2.0
> > application for the Android Market using WebView.  The web 2.0
> > application works perfectly on my G1 when run with the G1 browser.
> > When I run my Android application, it loads the initial screen and
> > then freezes.  Tapping or Menu do nothing.  The app is fairly complex
> > with a lot of Javascript.
>
> Do you have the INTERNET permission in your AndroidManifest.xml file?
>
> Have you enabled Javascript in your WebView?
>
> Can you display any other Web pages from your WebView, or is the problem
> limited to your own site?
>
> Do the logs (adb logcat, etc.) show any errors?
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com
> _The Busy Coder's Guide to Android Development_ Version 1.9 Published!
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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