I speak at a number of conferences and am giving a couple of talks later this year about Dojo on the iPhone. Of course, giving a talk without being able to show demos is frustrating, but giving a talk without having high-quality screenshots is silly. There wasn’t a solution known outside of Apple until recently, and it is still a bit of a process, or I daresay a bit of a quest. These instructions are for Mac users… I’m sure the steps are pretty similar for Windows users as well.
- Follow the instructions at LifeHacker for a simpler installer to add applications to your iPhone
- Install the Community Sources, BSD Subsystem, MobileTerminal, OpenSSH, and UIctl apps, in that order (UIctl is optional, but a really easy way to start/stop SSH)
- Download a copy of Erica Sadun’s screenshot utility to your machine
- Download a copy of iphuc (I chose the universal binary)
- Connect your iPhone to your Mac if not already connected.
- Follow the instructions for using iphuc
- Within iphuc, on the iPhone’s filesystem:
chmod +x /bin/screenshot
- Now, on the iPhone, enable ssh ( I found UIctl to require the least amount of typing)
- From the Terminal on your Mac,
ssh@[ip_address](either open terminal and type ifconfig, or drill down into the wireless network until you see the IP address; note you cannot do this over the EDGE network as far as I know)
- The default ssh password is dottie… I suggest you change it with a passwd command
- After you have the desired screen showing on the iPhone, type
/bin/screenshoton your Mac’s terminal. Note, you can do this within MobileTerminal on the iPhone, but you can only get screenshots of the Terminal app in my limited experience
- Back within iphuc,
- And yes, that is what I consider easy enough to be worth the effort, but I look forward to the day when this is easier. And so the quest concludes! And the result:
Update: If you don’t want to work on your iPhone SSH chops, you can follow the first two steps, and install Dock. Just be sure to not install SummerBoard or one of the other launcher apps.