I\'m currently dealing with a new project and I have to send data through headphone jack with specific voltage, then i can work on that voltage.
so here i need to progra
Here is a HackADay article dealing with this issue. http://hackaday.com/2010/02/01/android-audio-serial-connection/ It offers working code which was quite a bit simpler than I thought it would be.
Although, like others have suggested, including this very similar SO post, you might have an easier time using the USB port.