I like hacking stuff together and my next project I'd like to make my own dock for my HTC Sensation. It's a fairly simple project, but the bit I can't work out is how the Sensation knows it's in a dock and launch it's dock app.
I've seen other phones that use magnets or switches, but how does the HTC Sensation do it?