Sending Data through Headphone jack in Android phones

后端 未结 4 1127
囚心锁ツ
囚心锁ツ 2021-01-31 11:27

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

4条回答
  •  被撕碎了的回忆
    2021-01-31 12:21

    the simplest way to catch input data from audio jack in android or iphone is through recording http://developer.android.com/reference/android/media/AudioRecord.html

    think something similar like playing a linear pcm audio file , I have n't tried but I believe it should work

提交回复
热议问题