Hi there,

When I develop a dynamic web site I used to change the /etc/hosts file
on my linux boxes and the equivalent on Windows ones to test the site on
different browsers, so I add a line in the way of:

192.168.1.21        devel.mysite.com

So when I put http://devel.mysite.com on a browser, it connects to my
development Apache server.

So what I'd like to do it is the same on my Android device, I think I
cannot edit /etc/hosts file on it at least while it is not rooted, but
if there is other way to do this it will be enough.

I know there are complexer ways to do this, like setting up a DNS server
on my own network and give it through DHCP to the device when its
connected to my WIFI access point, but I rather like to do it in a
simpler manner if there is any...

I use Eclipse for development, so if there is a chance to do something
via DDMS or using command line tools like adb, it will be welcomed.

Best regards,

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to