You need a 3.5mm TRRS to TRS splitter adapter, that either splits to separate female 3.5mm TRS-jacks for the microphone and the audio or just a single 3.5mm TRS microphone jack.
Easiest way for me to find these has been to look for 'iPhone microphone adaters', (I've puchased three for my various phones and each one has worked just fine on non-apple products. I have a HTC Touch HD, Motorola Milestone and a Nokia N900) YMMV.
A quick google search yielded an example product (that seems way overpriced by Finnish standards, but you get the idea) here
If you're not trying to record video, everything I know about Android's audio APIs (which isn't much, but it's something) tells me you should be able to just use AudioRecord. Assuming that Android phones tend to behave like other devices that accept microphone input, the internal mic should be disabled if an external one is plugged in so you shouldn't have to worry about where the audio is coming from.
The article MadMurf linked indicates that voice recording is possible with an external mic, so I don't see why you couldn't do something else with that input.
Well I haven't done anything in this space but looking at this product SquareUp I'd reckon that the data coming in the jack can be used for anything you can program it to do...
So I'd be with you in thinking its possible, but from reading this article its not currently built into the Android O/S when recording video
Android does not, at this time, support the use of external mics when recording video
However the SquareUp guys seem to have found a way to read data using the jack as an input, though in my looking through the Android developer docs it wasn't leaping out at me. I doubt the SquareUp code is open sourced but if you fire them a mail on their support site they might point you in the right direction.
发布评论
评论(3)
您需要一个 3.5 毫米 TRRS 至 TRS 分离器适配器,该适配器可以分离为用于麦克风和音频的单独的 3.5 毫米 TRS 母插孔,也可以仅分离为单个 3.5 毫米 TRS 麦克风插孔。
对我来说,找到这些的最简单方法是寻找“iPhone 麦克风适配器”(我为我的各种手机购买了三个,每个都在非苹果产品上运行良好。我有 HTC Touch HD、摩托罗拉 Milestone和诺基亚 N900)YMMV。
快速谷歌搜索产生了一个示例产品(按照芬兰标准,这似乎定价过高,但你明白了)此处
You need a 3.5mm TRRS to TRS splitter adapter, that either splits to separate female 3.5mm TRS-jacks for the microphone and the audio or just a single 3.5mm TRS microphone jack.
Easiest way for me to find these has been to look for 'iPhone microphone adaters', (I've puchased three for my various phones and each one has worked just fine on non-apple products. I have a HTC Touch HD, Motorola Milestone and a Nokia N900) YMMV.
A quick google search yielded an example product (that seems way overpriced by Finnish standards, but you get the idea) here
如果你不想录制视频,我对 Android 音频 API 的了解(虽然不多,但很重要)告诉我你应该能够只使用 AudioRecord。假设 Android 手机的行为与接受麦克风输入的其他设备类似,则如果插入外部麦克风,则应禁用内部麦克风,这样您就不必担心音频来自何处。
文章 MadMurf 链接 表明可以使用外部麦克风进行录音,所以我不明白为什么你不能用该输入做其他事情。
If you're not trying to record video, everything I know about Android's audio APIs (which isn't much, but it's something) tells me you should be able to just use AudioRecord. Assuming that Android phones tend to behave like other devices that accept microphone input, the internal mic should be disabled if an external one is plugged in so you shouldn't have to worry about where the audio is coming from.
The article MadMurf linked indicates that voice recording is possible with an external mic, so I don't see why you couldn't do something else with that input.
好吧,我在这个领域没有做任何事情,但是看看 这个产品 SquareUp 我认为传入的数据这个插孔可以用于任何你可以对其进行编程的事情......
所以我会和你一起认为它是可能的,但是通过阅读 这篇文章目前在录制视频时尚未内置到 Android 操作系统中
然而,SquareUp 的人似乎找到了一种使用插孔作为输入来读取数据的方法,尽管在我浏览 Android 开发人员文档时,我并没有想到这一点。我怀疑 SquareUp 代码是否开源,但如果您在他们的支持网站上向他们发送邮件,他们可能会指出你的方向是正确的。
Well I haven't done anything in this space but looking at this product SquareUp I'd reckon that the data coming in the jack can be used for anything you can program it to do...
So I'd be with you in thinking its possible, but from reading this article its not currently built into the Android O/S when recording video
However the SquareUp guys seem to have found a way to read data using the jack as an input, though in my looking through the Android developer docs it wasn't leaping out at me. I doubt the SquareUp code is open sourced but if you fire them a mail on their support site they might point you in the right direction.