Strange WebView "Web Page Not Available" behavior after application runs for a long time

by Kenn Min Chong » Tue, 05 Jan 2010 12:47:34 GMT

Sponsored Links
 Hey there!
   So, I have this simple app that contains a WebView object. My code
basically tells my WebView object to load some pages every minute or
so. The problem is, after the application runs for about 9-10 sites,
every time I ask the WebView object to load a new URL I get a "Web
page not available" error. Why is this happening?


Strange WebView "Web Page Not Available" behavior after application runs for a long time

by Kenn Min Chong » Sat, 09 Jan 2010 03:32:07 GMT

 Alright, I think I narrowed down the issue. Once my WebView gets stuck
in an "unresolveable" state, I tried to use the Browser app instead in
the emulator, and it no longer is able to resolve and URL I give.
HOWEVER, if I give it the IP address of the site instead, it works
just fine! So, I think there is something wrong with it when it tries
to resolve a name. Any ideas on how to resolve this?

> page not available" error. Why is this happening?

Sponsored Links

Other Threads

1. Iphone /Android/Mobile Webb Developer requirement- Phoenix,AZ

Dear Candidate,

I have an excellent full time opening for an I phone/Android/Mobile Webb
Developer position(H1's are welcome)

Candidates for this position must have good working knowledge of I
phone/android/mobile webb apps related technology.The position is based in

If you would like to explore this opportunity please send me your updated
resume to along with time and number where you may
be reached.If you have any of your friends/colleagues who would be
interested in this opportunity please feel free to forward this requirement.

Role Title: Senior Programmer (I Phone)

Recommended Experience:

At least 3 years of experience as a Programmer in the required technology.
At least 1 year experience in developing I phone apps; Apps should have been
deployed in Apple App  store
Knowledge and experience of working in Agile an added advantage

Role Title: Senior Programmer (Android)
Job Description: Same as above, except knowledge and experience of
developing and deploying apps on Android platform

Role Title: Senior Programmer (Mobile Web)
Job Description:

    Same as above, Knowledge of OOPs in Java, J2EE;
    Frameworks - CSS, Java scripts, Struts, Hibernate, Spring, JSF and Game
Programming using C++
    Middleware: EJB, SOA, Webservices, Linux / UNIX shell scripting, Oracle

Compesation: 60-80K base(based on exp)
Job Description:

            Develops program specifications/detail design documents.
            Codes, tests and debugs applications programs.
            Has participated in the application design of systems, including
use of analytical techniques.
            Works under the direction of a team leader, senior technical
leader or analyst.
            Develops prototypes from functional specifications.
            Develops program specifications/detail design documents.
            Has participated in the development of functional
            Codes, tests, and debugs complex application programs.
            Assists users in testing, training, and preparation for
            Provides technical direction to programmers.
            Develops and/or leads the development of prototypes.

  I look forward to hearing from you.



2. Problem a ViewFlipper.

I want to show an image in my application, then after 3 seconds i want
to show the other image, so i choose to use a ViewFlipper, however i'm
facing a little problem:
The first image shows and after 3 seconds the next image is showen BUT
instantly it returns to the previous one(first one).
I maked this:
public void onRegistrationDone(String localProfileUri, long
expiryTime) {
                        updateStatus("Registered to server.");
                        Log.d("SUCCEED","Registration DONE");

                        final ViewFlipper flipper =
                        flipper.postDelayed(new Runnable() {
                        public void run() {

What can be the problem?

Thank you for your help.


3. ReccurenceProcessor error Gingerbread calendar issue

4. Developer for NYC Disrupt Hackathon

5. How to cross mark touch points in an image

6. Android Native Heap inspection

7. Does VP8 decoder support 720P resolution video playback in Gingerbread 2.3.3 ?