I meet web view problem. It cannot connect to network via webview.

by charles » Fri, 04 Sep 2009 01:59:44 GMT


Sponsored Links
 Hi all,

I can use browser to open the  http://www.google.com , but I cannot use
webview to open google page.

source code below.

        setContentView(R.layout.main);

        webview = (WebView) findViewById(R.id.webview);
        webview.getSettings().setJavaScriptEnabled(true);
        webview.loadUrl(" http://www.google.com ")

In AndroidManifest.xml, I also add permission. You can look below.

       <uses-permission android:name="android.permission.INTERNET" />

I cannot connect web via webvie.

Perhaps, this issue is proxy problem.

Can you give me some suggest to solve this issue?

Thanks,

Charles

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. mapview: what might cause the google logo to show up as a red box?




It is a Cliq problem and there does not seem to be anything you can do about
it.

Here's another forum on the topic:
http://forums.weatherbug.com/viewtopic.php?t=1219&sid=e04f9f851426fbf7450fb10d2bb09221
<http://forums.weatherbug.com/viewtopic.php?t=1219&sid=e04f9f851426fbf7450fb10d2bb09221>
-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking

-- 

2. Is this legit? - Device Seeding Program

I am going to start by answering my own question and saying "no". But
I thought i'd post to make sure - I wouldn't mind a nice new Nexus
One ;)

============================================

Email I just received from: android-market-seed...@google.com

Due to your contribution to the success of Android Market, we would
like to present you with a brand new Android device as part of our
developer device seeding program. You are receiving this message
because you're one of the top developers in Android Market with one or
more of your applications having a 3.5 star or higher rating and more
than 5,000 unique downloads.

In order to receive this device, you must click through to this site,
read the terms and conditions of the offer and fill out the
registration form to give us your current mailing address so that we
can ship your device.

You will receive either a Verizon Droid by Motorola or a Nexus One.
Developers with mailing addresses in the US will receive either a
Droid or Nexus one, based on random distribution. Developers from
Canada, EU, and the EEA states (Norway, Lichtenstein), Switzerland,
Hong Kong, Taiwan, and Singapore will receive a Nexus One. Developers
with mailing addresses in countries not listed above will not receive
a phone since these phones are not certified to be used in other
countries.

We hope that you will enjoy your new device and continue to build more
insanely popular apps for Android!

Thanks,
Eric Chu
Android Mobile Platform

============================================

The link to the "site" is: 
http://sites.google.com/site/developermarketandroidgiveaway/

Can someone confirm the legitimacy of this email?

Thanks

-- 

3. How could I make such a UI? customized UI issue

4. Grrrrr.... 100 SMS per hour

5. External keyboard

6. Harga yg menggiurkan, penipuankah??

7. AdWhirl - any experience with it?