WebView cannot resolve URL by name after loading a few webpages in emulator

by Kenn Min Chong » Sat, 09 Jan 2010 03:34:31 GMT


Sponsored Links
 Hey there!
   OK, so, I have a WebView object that is programatically loading up
sites every minute or so. After a while, the WebView object in my
emulator errors out saying the web page cannot be found. I load up the
built-in Browser app instead and it couldn't even load up google.com.
However, if I then try to manually go to a site via IP, it'll work
fine. Any ideas on why this is happening?

Kenn.



Other Threads

1. question about build android

Hi, all:
     I try to build android on my linux, but failed with following
errors:
build/core/product_config.mk:229: WARNING: adding test OTA key
host C: acp <= build/tools/acp/acp.c
cp: cannot stat `out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/
acp.d': No such file or directory
/bin/bash: line 1: out/host/linux-x86/obj/EXECUTABLES/
acp_intermediates/acp.d: No such file or directory
host Executable: acp (out/host/linux-x86/obj/EXECUTABLES/
acp_intermediates/acp)
true
Install: out/host/linux-x86/bin/acp
host Java: droiddoc (out/host/common/obj/JAVA_LIBRARIES/
droiddoc_intermediates/classes)
libgcj-java-placeholder.sh

This script is a placeholder for the /usr/bin/java
master link required by jpackage.org conventions.  libgcj's
rmiregistry, rmic and jar tools are now slave symlinks to these
masters, and are managed by the alternatives(8) system.

This change was necessary because the rmiregistry, rmic and jar tools
installed by previous versions of libgcj conflicted with symlinks
installed by jpackage.org JVM packages.

This script was designed to be overridden by the supported RHEL3 JRE
packages, java-1.4.2-bea and java-1.4.2-ibm.  It is installed as an
alternative symlink as /usr/bin/java.  It will override a third-party
(non-RHEL3) JRE's java command if the JRE's bin directory is listed
after /usr/bin in PATH.  In that case, it is recommended that the
third-party JRE's bin directory be listed first in PATH instead.

gij: unrecognized option -- `-J-Xmx256m'
Try `gij --help' for more information.

I have install gcc-4.3.2 and my gij version is
$ gij -v
gij: unrecognized option -- `-v'
Try `gij --help' for more information.
[EMAIL PROTECTED] bin]$ gij --version
java version "1.5.0"
gij (GNU libgcj) version 4.3.2

Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There
is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

Can anyone tell me what's wrong?

Thanks.


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

2. Using WiFi Manager

hello,

I am trying to use following:

WifiManager wm = (WifiManager) getSystemService
(Context.WIFI_SERVICE);

but whenever i use following it throws an error

wm.setWifiEnabled(true);

at the same time
wm.isWiFiEnabled() returns false.

I have added <uses-permission> for accessing wifi state into manifest
file.

Can i use wifi of underlying machine using emulator as emulator dont
have dedicated wifi adapter?

if yes, it is possible use underlying systems wifi adapter through
emulator, can you tell me how to do it?
I want to obtain IP address in the emulator, assigned to wifi adapter
assigned by dhcp server after i connect to Wifi AP.


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

3. Possibility of changing the graphic used for a radio button?

4. Text-To-Speech

5. Marketplace html error - cannot administrate my downloads or create new applications. Will someone in google please read !

6. problem in implementing Http 4 classes for sdk1.0

7. Base Adapter View and OnClick Lister