How could I read a digital input (an open/closed switch) from a smartphone without a digitizing board?
If you have the kind of headset  with built in volume controls, you could wire your switch to the mute or volume buttons and detect that being pressed from your app.  In fact...you could probably just use the existing button.  That would be the easiest and most reliable to detect.