Thanks for the reply, I appreciate any help on this. I do understand that the emulator doesn't use the machine's host file and that Android has its own read-only /etc/hosts file. I'm looking for an easier way to redirect google.com to my own fusion server that doesn't involve setting up a private DNS and using the -dns-server flag. Host files obviously make this simple. In pre r1&r2 you could adb push your own hosts file. This was obviously patched. So is the only solution to set up my own DNS? Has to be an easier way.
Thanks, Nick On Jan 25, 5:54 pm, Charlie Collins <charlie.coll...@gmail.com> wrote: > The emulator doesn't use the hosts file on the host computer, it has > it's own networking. You should be able to tweak it for what you need > there: > > http://code.google.com/android/reference/emulator.html#emulatornetwor.... > > On Jan 25, 3:04 pm, nknize <nkn...@gmail.com> wrote: > > > All, > > > Anyone know of a way to change the server that a MapActivity looks at > > for maps and images? By default the MapActivity it is pointed > > tohttp://www.google.com:80. If you are operating on a self contained > > network (disconnected from the open internet) google cannot be > > resolved. But if you are running your own google fusion server you > > should be able to point to it as the map server. I've already tried > > pointingwww.google.comtothe ip of the fusion server in my /etc/ > > hosts file. Appears the emulator doesn't use the hosts file. > > > Any thoughts? > > > Thanks, > > > Nick --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---