Saw a fascinating video and thought I'd share it:
https://www.youtube.com/watch?v=DE5e0C7xw7c
They use the smartphone's built-in gyro and accelerometer to feed data to the controls of and RC plane. They accomplish it using the headphone jack to feed commands to the microcontroller.