Cornell Research Study about Android and Open Source: 20-30 minute interviews - Flexible Times

by Fred Grott » Wed, 29 Apr 2009 05:35:35 GMT

Sponsored Links
 Tony Liao,

To make sure you get enough responses are you open to a talk either  by
gtalk voice or sklype as well?

On Tue, Apr 28, 2009 at 4:24 PM, <


Other Threads

1. How to get the WebView UserAgent (without having a Context)


  I am downloading web pages off of the internet and some of those sites
want to format their content for the actual user agent used.

  I want to use the user agent that is later on used to display the stuff I

  I can ask WebView.getWebSettings().getUserAgentString() to get the user
agent, but this doesn't work all that well for my app as I need to
instantiate a WebView first even though I don't need. Furthermore to do that
I need to have a UI context, which I don't as this part of the app doesn't
have a UI.

  Is there another way to get to the User Agent?

  I found in WebSettings:

    // User agent strings.
    private static final String DESKTOP_USERAGENT =
            "Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en)"
            + " AppleWebKit/528.5+ (KHTML, like Gecko) Version/3.1.2"
            + " Safari/525.20.1";
    private static final String IPHONE_USERAGENT =
            "Mozilla/5.0 (iPhone; U; CPU iPhone 2_1 like Mac OS X; en)"
            + " AppleWebKit/528.5+ (KHTML, like Gecko) Version/3.1.2"
            + " Mobile/5F136 Safari/525.20.1";

  But of course, this is private. Any other idea?



2. WebView "web page not available" after running awhile:

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?


3. Adding Custom Data Types to Contacts

4. Location of current desktop/wallpaper file?

5. USB ADB Device connected notification icon still present even after device removed

6. Cannot receive UDP in mobile network

7. Does Android has a Touchscreen requirement?