Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
On HTC phones I think it often involves connecting pin 4 (ID) on the dock's USB plug to pin 5 (ground) with a resistor, but I'm not sure if that's how it works for the Sensation. There's a bit of discussion on XDA but there's not a lot of definitive information: – eldarerathis Apr 22 '12 at 22:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.