Connecting reed switch to android smartphone, using minimum of components. You probably already have everything you need, but you may not be willing to use it ;)
Cause I don't have a soldering iron near here, and cause I still don't know how I want to connect the reed switch (preferably using the original "connector", so I don't have to destroy a perfectly working thing (I had enough with the headphones), and cause the only 1M resistor I could find nearby is "prototyping only", I decided to just connect all the wires "somehow" and see if it all works together. And it does :)