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. How to Call Browser Activity

I am reading through the SDK on Android .com and I am having trouble
just finding an example using an intent to invoke a browser activity.

I want to send the user to a specific URL.

String authUrl = "http://domain.com/login";


            // bring the user to authUrl, e.g. open a web browser and
note the PIN code
            // ...
                Intent webLogin = new Intent(this,NetApi.class);
                startActivityForResult(webLogin,ACTION_VIEW);


But I know this isnt even close, shoudl I use a browser view instead?
--~--~---------~--~----~------------~-------~--~----~

2. notification of browser

Hello,

I would like to get notification when user open browser and open any
web page. Even i would like to get notification when user send sms
from native application. Is it feasible. If it is not feasible. How
can i get contents of  outbox or sent items from phone.


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

3. ImageButton is shrinking automatically

4. Development tools recommendation thread

5. android media Apps

6. Does Android OpenCore framework contain "OpenMAX IL Bellagio" ?

7. Name Game