[Q] Ipod/iPhone remote controls - Android Software Development

Hey people.
There are many good quality earphones built for phones on the market at the moment and the ones that have controls in addition to a microphone are more often than not tailored for Apple products.
I purchased one and it has three buttons. Volume up/down and a play /pause button which doubles up as a call answer/end button. The play/pause button works, but doesn't answer/end calls, and the volume up/down buttons don't work either.
Is there an app that reads the signals sent from the remote and translates them to android-capable commands?
Also, the play/pause button also "next track" when double pressed, and "rev track" when held down; is there an app that translates these commands to android-capable commands?
Thanks.

Related

Reassigning the headset buttons (pick up and hang up)

Has anybody found a program that can reassign the pick-up and hang-up buttons on the XDA II headset? It would be really nice if we could assign one of these buttons to "Next Track" on Windows Media Player. It would even be better if the program would switch the buttons back to the default behavior if the phone application becomes active (when the phone rings).
yeah but as far as i know the headset buttons are hardwired to the pickup buttons on the phone and those cant be changed by any software

Headphone Button -> Music Player Control?

Hey all,
I was just wondering if there is a way to control the music player with the headphone button. I am used to stuff like "pressing button twice = next track" etc.
Is there any chance to employ that kind of control on the Blackstone?
Many Thanks,
s
Either there is no quick solution to this or it is too simple. In either case, please let me know
headphone button? No headphone button that I know of on the Touch HD! Only buttons are volume control and the power button...:-\
FlangeArtist said:
headphone button? No headphone button that I know of on the Touch HD! Only buttons are volume control and the power button...:-\
Click to expand...
Click to collapse
There is a button on the cable for the headphones, right where the microphone is. When I hold it down I access voice speed dial. If I click it several times I think it redials the last number used. During an incoming call it can be used to answer, and a long press will hang up.
It would be nice to be able to skip track with double click, and pause with single click.
hungry hippo said:
It would be nice to be able to skip track with double click, and pause with single click.
Click to expand...
Click to collapse
The way such buttons work is very basic, and the potential solution (this was achieved on another device I used) was substituting whatever program is watching the events related to shorting the contacts. Usually it's the voice dial thingie. So theoretically one could write an application with the same name as the one for voice dial, which would issue relevant commands to the player. It's a pretty straightforward task as soon as you know what are the events, how they are generated, what application is currently watching for them, and last (but not least) know how to code. Unfortunately, I am no programmer.

Better Music Controls

I come from using many other mp3 players in the past, and I got a G1 to be my "be all" piece of hardware. One area that I feel the phone is lacking is in the music department.
I was wondering if a developer could create some sort of app that allows for track switching from the lock screen.
Or better yet, when I had my Blackberry I was able to hold the volume up button and that would switch to the next track while holding down on the volume rocker would go to the previous track. Just clicking the volume rocker would still adjust volume. Is there any way to implement this into the G1?
just2good4u3434 said:
I come from using many other mp3 players in the past, and I got a G1 to be my "be all" piece of hardware. One area that I feel the phone is lacking is in the music department.
I was wondering if a developer could create some sort of app that allows for track switching from the lock screen.
Or better yet, when I had my Blackberry I was able to hold the volume up button and that would switch to the next track while holding down on the volume rocker would go to the previous track. Just clicking the volume rocker would still adjust volume. Is there any way to implement this into the G1?
Click to expand...
Click to collapse
There's probably some way to do all you describe above, but Android 1.5 supports AVRCP. If your BT headphones have playback controls they will work fine with G1 whenever music is playing, regardless of whether the screen is locked.
I believe Hero has some controls while in the lockscreen, forgive me if I'm mistaken. I just came off of it, reliability was too big of a trade off.
Double press the button on your headset/3.5mm headphone cable.

iPhone headset volume control

I have a pair of Sony headphones that have a controller designed to work with an iPhone/iPod. The middle (play/pause/forward/backward/end call button) work just like the original Nexus one headset, but the volume controls don't work. Is there a possibility of making an app, modified Music.apk or driver that would enable this volume control, or does one already exist? I've searched these forums, Google's forums and some other forums and found nothing.
There's an app called RemoteVol that allows you to adjust volume by long pressing on the previous track and next track buttons. It was designed for the default N1 headset, though I don't see any reason why it wouldn't work with third party headsets.
I'm guessing that HTC didn't think to include volume controls in the headset design, perhaps because there's already the volume rocker on the side of the phone.
earlyberd said:
There's an app called RemoteVol that allows you to adjust volume by long pressing on the previous track and next track buttons. It was designed for the default N1 headset, though I don't see any reason why it wouldn't work with third party headsets.
I'm guessing that HTC didn't think to include volume controls in the headset design, perhaps because there's already the volume rocker on the side of the phone.
Click to expand...
Click to collapse
I tried that, the download link was dead and it wasn't on the market.
http://www.mediafire.com/?2mmmyfjjrnw
works well with my htc headset
I'd like to point out that the Nexus One headphones don't control volume.
Continuing on, as you said, the volume buttons do nothing (on other pair remotes I have)
Remote Vol doesn't work in this case- I'm using Sony headphones using the Apple button control design.
I guess your only option then is to use the stock headset that came with the phone, or just use the volume rocker.
If you or someone you know is handy with a soldering iron, you can perform a simple mod to the stock headset so that you can plug in third party headphones. You just have to cut off the stock ear buds above the remote, then solder the wires into a 3.5mm audio jack.

Disable Bluetooth Headphone Buttons?

I have Bluetooth headphones, which use a single button press to for pause/play. Unfortunately these buttons trigger quite easily on their own and there doesn't seem to be an app from the vendor to change the button mapping.
Is there a way on the Android side to disable those media controls?

Categories

Resources