iPhone / iPod Touch remote

Jul 2, 2009 at 10:11 PM

I recently got an iPod Touch and have been playing around with getting it to act as a replacement remote.

There are a few things that I've learned.

  1. Developing for an iPhone requires a Mac - which I'm not about to buy
  2. Web apps can look like a real app, but can load too slowly to be useful
  3. Safari on the iPhone supports HTML 5 which includes support for Data URIs


So my remote replacement works as a web app - it's basically an html page that uses the http server interface (Beta 2 download) as such it can be used by any reasonably modern browser. The fun part is that after configuring the remote to use your VMC server you can load a data URI version of the page. What this means is that the entire web app is included in the URL - so a book mark is, in effect, a local copy - no net access is needed to load.

iPhone / iPod Touch Specifics:

My web app remote is designed around the iPhone interface. To get this saved to your iPhone / Touch:

  1. Goto the below page
  2. Click on the gear icon (top left page)
  3. Fill in your server info (probably your VMC machine's ip address and the port 40510)
  4. Click the 'Apply' button
  5. Then click on the link for the data uri (first link)
  6. Assuming you are using the iPhone browser (Safari) click on the '+' key and select 'Add to Home Screen'
  7. Done you now have a local copy of the web app stored to your iPhone

Note that you can also skip step 6 and just save a bookmark, but then you do not get full screen support...

Here is a link: http://www.onhiatus.com/ha/remote.html

Feel free to use, modify, etc.

Please let me know what you think, Tony