Andy Ihnatko: Yes, of course I had to mess around with iOS 4.0 and see if the Keyboard Dock worked with it. I don’t know if you’d exactly want to travel with a Keyboard Dock in your pocket, but if you want to win a bar bet with this trick…well, godspeed to you.
Note – The “repeating keys” problem I mentioned was just due to the iPhone occasionally becoming unseated from the dock.