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. How to Start Call Log Activity Using Intent

Hi,

Please help me, can we start Call Log Activity using the Intent. Below is
the my code i try to start Call Log Activity using the Intent but not able
to success.

 Intent i = new Intent();
                 i.setAction(Intent.ACTION_VIEW);
                 i.setData(android.provider.CallLog.CONTENT_URI); //*Not
Working*
                 //
i.setData(android.provider.CallLog.Calls.CONTENT_URI);       *//Working* *
Fine*, *It will open Dialer*
                 //
i.setData(android.provider.Contacts.People.CONTENT_URI);  *//Working **Fine,
It will open Favorites*
                 startActivity(i);

Please help me if you have any solution..

Thanks
Jaydip

-- 

2. scrollHorizontal problem on TextView

I have run into a similar problem.  Apparently focus is required to
get ellipsize="marquee" or scrollHorizontal="true" to operate.  I
haven't found where that is documented?  Can anyone point that out?

Bigger problem is I have one line TextView and even giving it focus
doesn't allow it to scroll. What am I doing wrong here:

        <TextView
        android:id="@+id/wanttoscrollt"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:singleLine="true"
        android:ellipsize="marquee"
        android:text="Blah blah andlongwordandmore"
        ></TextView>

I tried setting <requestFocus/> in the layout and also tried calling
requestFocus() in onCreate().  I always wind up with static text that
is truncated.  :(

My objective is to put some wide text into a narrow TextView and allow
the user to see (but not change) the part that is not initially
visible.


On Dec 17 2009, 9:47pm, sathya subbiah <sathya.subbia...@gmail.com>



-- 

3. 3 dots at the end of the string in strings.xml

4. 3 dots at the end of the string in strings.xml

5. Speech Recognition Problem

6. getChildAt sometimes giving wrong child at particular position?

7. BitmapFactory.decodeByteArray gives pixelated bitmap