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 8.8.8.8 is googles open DNS
The second should be 8.8.4.4





--


Sponsored Links


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

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


 Well,

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
server?
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).

Thanks






--



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:

68.87.85.102 and 68.87.69.150

so I set them for the emulator, like this:

-dns-server 68.87.85.102,68.87.69.150









--



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 <brione2...@gmail.com> 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 <r...@acm.org> 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:

 http://blog.creativeworkline.com/2010/03/android-emulator-cannot-resolve-dns.html 

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.

-Vaughn




--



Other Threads

1. Android spec or feature list?

Hello,

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,
Roger

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

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?

Regards,
...Max...

================
<html>

<head>

<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;
}
</script>
</head>

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

</body>
</html>
--~--~---------~--~----~------------~-------~--~----~

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?