Can麓t set the emulator麓s dns servers on windows

by Brion Emde » Mon, 05 Apr 2010 09:54:47 GMT

Sponsored Links
 That's a funny looking DNS that you're entering. How are you finding
your DNS?

I'm not saying those are not right, but I suspect that if they were
right, I your emulator would work.


Can麓t set the emulator麓s dns servers on windows

by Gabriel Sim玫es » Mon, 05 Apr 2010 10:39:00 GMT

 Actualy is googles open DNS
The second should be


Sponsored Links

Can麓t set the emulator麓s dns servers on windows

by Gabriel Sim玫es » Tue, 06 Apr 2010 06:24:48 GMT


Running the emulator manually with parameters -dns-server and -
verbose, I found out that the emulator complains it could not resolve
the DNS server specified (which is an IP for Google DNS, or any other
dns you want).
It says its going to use the default DNS but seems not to find any
defaut dns.
When I open the emulators browser, obviously no DNS can be resolved,
but all the websites work if I use their IP.

isnt there a way to force the emulator to use an IP address as a dns
Is there anything I can do or will I be forced to develop on linux (so
everytime I go back and forth systems I face problems with accents and
special caracters on my source code).



Can麓t set the emulator麓s dns servers on windows

by Brion Emde » Tue, 06 Apr 2010 07:04:15 GMT

 I think that you need to find out what your DNS servers are for your
ISP. There are instructions on the internet for Window, Mac and Unix
on how to do this.

On a windows machine, you run ipconfig /all and look for nameserver or
DNS lines and copy those IP addresses.

For example, my DNS servers are: and

so I set them for the emulator, like this:



Can麓t set the emulator麓s dns servers on windows

by Bob Kerns » Tue, 06 Apr 2010 09:18:15 GMT

 ou don't generally have to use your ISP's DNS servers, you can use
any DNS servers you want.

I use OpenDNS myself, and ignore Comcast's.

However, occasionally some firewall or other security software will
block DNS to other servers. So this is worth a try.

On Apr 5, 4:03pm, Brion Emde <> wrote:


Can麓t set the emulator麓s dns servers on windows

by Gabriel Sim玫es » Tue, 06 Apr 2010 11:35:13 GMT

 hats up Bob? hehehehe

Well, adding -dns-server (my actual dns) on Eclipse doesnt solve the
problem: I still get "no network connection" when I open the browser.
Using the same machine and the same network connection, everything
works great on linux. Unfortunately linux is not my main OS, hehehe.

On 5 abr, 22:17, Bob Kerns <> wrote:


Can麓t set the emulator麓s dns servers on windows

by vhagerty » Wed, 21 Apr 2010 09:51:28 GMT

 After wrestling with this for several days and following quite a few
wrong suggestions, I found a solution that not only made a little
sense, more importantly it actually worked, assuming this problem is
occurring on a wireless connection.

Here's the source of this solution: 

Bottom line: The emulator apparently uses the same DNS settings used
by the LAN card, which probably isn't going work if you're on a
wireless connection. Simply disable your LAN connection in Internet
Connections and suddenly everything's groovy.

Should've occurred to me when I noticed it worked fine on the company
network but not at all on wireless.

Hope this helps.



Other Threads

1. Android spec or feature list?


Does anyone know if an Android spec or feature list exists?

FYI: I'm thinking of making a media player for Android, and I can't
tell which DRMs are supported by Android.  I'm specifically looking
for which DRM systems are supported; which version; and which parts
(as not all parts are always supported).  For example, OMA DRM v1.1
Forward Lock, Separate Delivery, and Combined Delivery.  I'd also like
more details about the video codecs.  So far, I've only seen the codec
names (i.e. MPEG4, H.264), but I'd like to have more specific
information, like the max resolution, bit rate, frame rate, and
profile.  I know these are somewhat hardware dependent, but I'd think
that Google has minimum hardware requirements that they give out.

Thank you in advance,


2. Android/WebKit browser: any way to intercept the navigation keys from a script?

Subj. The straightforward approach (example below) doesn't seem to
work, at least on the simulator. It does intercept the keyboard
buttons but not the up/down/left/right "joystick" keys. BTW, without
an <input> element on the page (or, I guess, something else to take
focus) this code doesn't see even the keyboard presses -- everything
goes straight to the search bar. Is this a missing feature, or is
there a trick to it?




<script type="text/javascript">

function log( txt )


document.getElementById( 'log' ).appendChild( document.createTextNode( txt ) );

document.getElementById( 'log' ).appendChild( document.createElement( 'br' ) );


function str(e)
        var s = '';
        if( 'charCode' in e )   s += ' charCode=' + e.charCode;
        if( 'keyCode' in e )    s += ' keyCode=' + e.keyCode;
        return s;

function onKeyDown(e)
        log( 'onkeydown: ' + str(e) );

function onKeyUp(e)
        log( 'onkeyup: ' + str(e) );

function onKeyPress(e)
        log( 'onkeypress: ' + str(e) );

function runOnLoad()
        document.onkeydown = onKeyDown;
        document.onkeyup = onKeyUp;
        document.onkeypress = onKeyPress;

<body onload='runOnLoad()'>
<input type='text'>
<div id="log"></div>


3. What's the Cost ??

4. Android/G1 SCOMO

5. Android/WebKit browser: text box rendered out of z-index sequence

6. Error using XMPP using Smack API 3.0.4

7. Has anyone built IM.apk and ImProvider.apk?