[REQ] iDevice compatible headphone recognition. - Nexus One Android Development

Is it possible via software to get apps (or indeed the underlying OS) to recognise the alternative inputs from the 3-contact TRRS (3.5mm headphone) connector as used on iphone compatible headphones?
It would be useful for accessories such as the iLuv inline extension (http://bit.ly/9iSZpA) to enable volume control when used with 3rd party headphones. As it stands the play/pause/skip functionality works, as do inline microphones (such as on the Griffin SmartTalk - http://bit.ly/CkdV) but volume control isn't recognised.
The alternative is to cannabilise the original N1 headphones, but being able to use the much more prevalent iPhone/iPod compatible types would make choices a lot easier.
If this is an electrical limitation rather than software, then please note as such and close the thread.

Related

[Q] Sync HD2 with car so can press previous/next on the radio to change songs?

Can it be done?
When I connect via aux cable with my car nothing happens when I press previous/next on the car radio.
Thanks
Probably bc the standard 3.5mm headphone jack is only for transmitting audio, not to control anything.
This should be possible if you have a radio with USB input for flash drives or ipods but not over an aux cable. Perhaps you could try to find an aux cable with the track forward/reverse built in to the cable? I know I've seen headphones with it but not sure about the cable alone..
Sent from my HTC Glacier using XDA App
I had an aux in fitted in my car and was told the next/previous would work. When it didnt they said it would only work on a ipod. Interesting comment about the cable - anyone able to confirm whether the headphones lead is different?
To be honest, with the swipe action on the music player, this doesnt really bother me as its easy to do this whilst driving. However, I'd like to switch to another music app given the random function doesnt work properly....
I definitely know where youre coming from, I've always used an ipod for music, but want to use my mt4g now (or try to).
I messed around today and here's what I've came up with:
with the aux cable (standard 3.5mm headphone cable) you only have control of the tracks on the device, not with the radio's controls. you might be able to find cable with seek buttons built in (like some headphones) to make it easier but I've never actually seen one.
If your radio has a usb input on it you can connect your phone via usb, mount the sd card (as if using mass storage on a comp) and your radio should detect and read it as a flash drive. going this route your phone will charge, but you'll ONLY be able to control tracks from the radio head unit and you wont be able to listen to Slacker Radio or Pandora or other similar apps via usb. another plus is that the processing is done by the headunit, thus you could use your headunits random function.
The last option (that I think is king) is if you have a bluetooth enabled headunit, the HD2 can stream audio over bluetooth (a2dp) to your radio. You could then pair and stream music, Slacker, Pandora, etc and maintain control on the device (I would prefer control on device and radio, but i dont see this happening) wirelessly. One huge plus to me is that you can charge it while keeping fully functionality with only one cable.
I cant find a cable with anything other than volume controls, but I wonder if either of these options would help
micro usb to 3.5mm
http://www.cellphoneshop.net/syn2113.html
3.5mm to usb
http://bensbargains.net/deal/147822/
I've been using a BT Venturi Mini for about a year now and it works perfect. You can change streamed track/ stop start and it has no wires.So no mess, best investment ever. Plus, you can pick up calls/ voicemail via car stereo too.
Sound quality excellent, especially when you increase BT pool bitrate via HD2 tweak.
Perhaps if someone modded the headphones that come with the HD2 so that they go from 3.5 to 3.5 with the controls in the middle of the wire to use ?

Play music through USB?

Hi,
I wonder if it is possible to play music through USB. It doesn't work out of the box with CM 7, but maybe the is a hack or an app that would accomplish this?
Btw: Merry Christmas!
When you say: "through USB"; do you mean playing on the phone (with Music player) having audio output through usb? I haven't heard of one, but it could be theoretically possible as I have a USB Fm transmitter (also, docking bases have an audio out port) which plugs into the phone and transmits audio - so im sure a hack could be built? Otherwise, if you are asking about the ability to plug it into a USB port present on most modern stereo systems - the phone can simply be mounted and the stereo system would read it like any flash drive (have done this in my car)
Do you mean using the usb headphones?

[Q] What is the state of external audio input on Android?

Hello,
I'm trying to get higher quality audio input (sample width and conditioning, don't care about sampling rate above 32k) than is available through the microphone jack and was looking for an overview of where the development of such capabilites stands today. From what I gather:
Android 3.1 (maybe 3.2) added some support for USB Audio, though I can find almost no details on the capabilities. I can't post links, but a post on computeraudiophile with google search terms "usb audio enabled galaxy s3" claims support for a bunch of USB DACs on the Galaxy S3, but there is no mention of using the ADC.
Android 4.1 added support for USB audio docks -- these are generally (as far as I can find) speaker systems with a USB cable -- which only support audio output.
Software such as USB Audio Recorder Pro can record from a number of devices but this is of no use to a developer wishing to get the data into a separate application.
Lots of devices have HDMI ports but I found nothing about anyone managing HDMI input.
I can't find any such device for Bluetooth, but also nothing suggesting that it isn't possible. If so, can anyone speculate on audio quality limitations?
Now, I understand that the vast majority of users who want USB audio want output so it can go to their speakers, but there are some who need the other direction (or both...). Can anyone more familiar with the subject comment on the state of external audio input on Android devices?
Thanks,
Ben

USB DAC as main audio output

Hello,
I am making navigation system out of my android tablet, and i faced a problem that not all times i connect USB DAC, android sends audio data to USB, but rather to internal speakers (some times it does that, sometimes it does not)
Is where a simple way how to set to use USB as main audio source, and block headphones or any other audio source ?
Same apply to FM radio, i can plug headphones so it would act as antenna, but i still need audio to be rooted to USB DAC
Small support via PayPal for some one who give me the right answer
I would like to know too

Any way of adding an audio input to mix/play with the rest of the android sound?

The KLD2 I have has an AV input but one has to switch the MCU specifically to the AV input in order to listen.
What I am looking for is to have an audio input which mixes/plays full time with the rest of the android apps without having to explicitly switch to it. Has anyone done this? Do any usb devices exist (with android driver support) which implement an audio input and play real time what's coming in?
Yes, people have used a USB DAC, you need to search the original Q&A thread here :
https://forum.xda-developers.com/showthread.php?t=2660662
and maybe the MTCB Hardware Development forum. Try this first, its shorter !
Ok, I'll search that thread. DAC (Digital to Analog Converter) are used for the opposite thing though - to output sound from the MTC unit to an external amplifier or some other device. I am looking for the opposite (ADC) - to bring sound from external analog device into the MTC (and have the MTC mix/play it along). I've searched for USB ADC in the past but haven't found any interesting info yet.
shtirlitz111 said:
Ok, I'll search that thread. DAC (Digital to Analog Converter) are used for the opposite thing though - to output sound from the MTC unit to an external amplifier or some other device. I am looking for the opposite (ADC) - to bring sound from external analog device into the MTC (and have the MTC mix/play it along). I've searched for USB ADC in the past but haven't found any interesting info yet.
Click to expand...
Click to collapse
Doh, stupid me, but maybe an ADC will work in a similar way, via USB etc, so DAC posts may still help ? A seatrh for DAC should bring something up, btw, sometimes it works better to use google to search threads on XDA.
You are looking for something called an audio interrupt device. They used to be more popular when GPS nav units came out and people wanted voice nav over their stereo. They can connect by various means but you'll need to do some research to be sure it will work with your car and stereo setup.

Categories

Resources