For example while my iOS Simulator iPhone is perfectly happy with localhost:8000/htdocs/clip.html, for Android's AVD's I have to instead quickly check to see which local DHCP IP address my computer is assigned to by my router and use that instead (CowTip: find it with Terminal: ipconfig getifaddr en1). I can then pull up the "clip.html" file on the AVD through my local IP address (because currently the AVD doesn't work with the "localhost" address. I then keep the "clip.html" file open in a text editor like BBEdit and paste whatever text I want to transfer to the AVD into the "clip.html" file's body area.
but I don't do that with this for a variety of my own reasons.Īnyway, within the Abyss server (inside the root htdocs directory) I keep a basic html file called "clip.html" with the proper head tags, etc. It's also nice that you can see that it's running in your Dock so you notice to shut it off when you don't need it.īTW, I you can also do this with the built-in Apache web server (sudo apachectl start, etc.), MAMP, etc. I'm usually running it anyway as a test server and if it's not running, like I said its starts up in about a split second and it has extremely low overhead on CPU, memory, etc. I run the free version of the Abyss web server (starts up in about 1 second on a fast computer) on my Mac.
(after a little bit of preliminary set up, but after that it's very fast to use every time after that for the most part) - Really wish I didn't have to do all this setup in the first place and "it just worked" like the iPhone/iPad iOS simulator does with this kind of stuff, but (grumble, grumble.)