Capture iPhone headset microphone button presses in app?

I'm hoping to create an iPhone app that does several different things depending on input from the iPhone headset. I know the OS can do this (press once to answer/end call, twice to ignore, etc.), but I don't know if the functionality is included in the SDK. Any ideas?

i had the same problem...i reset my iphone by holding the power button and home button down at the same time...when i turned it back on it was working fine

Similar Messages

  • Iphone 4 Home Button Pressing Itself?

    I think the home button on my iphone 4 may be messed up. For the past few nights while I have been asleep voice control keeps turning on and waking me up without me even touching the phone (I leave it on my desk). The first time it did this I checked the phone and apparently it had been doing it all night because my battery was almost dead... also when i tried to turn the phone off so it would stop, the App tray thing( where you close apps) kept popping up and down really fast like i was double clicking the home button... and then my phone completely crashed. So i restored it from a backup and kept getting the problem (but now it was happening while I was in class, very anoying). After that didnt work i completely reset everything on the phone (not from backup) and it is still doing it. I don't really know what it is, i thought maybe the home button was sticking but how could it register a double click (when the App tray was popping up) if it is sticking? Has anyone else had this problem?

    By the time Apple recieves the device it has a turn around time of about 5-10 business days.
    If you are in Canada the device will be sent to Markham, Ontario
    And Apple will be replacing this device yes.
    They extend the coverage by 3 months for the replacement, but that is not on top of your initial hardware coverage ( say if you had 200 days of hardware coverage left you would have 90 days for the replacement BUT it does not add another 90 days to the end of your coverage)  so in that sense it would be useless.
    But yes, if you have only say 2 days left of hardware coverage when you recieve your replacement you would have 88 days left of hardware coverage for the replacement.
    If you are still in hardware coverage currently you are still eligible for the AppleCare Protection plan which extends hardware (covering manufacturur defects) an extra year and giving you two years of technical phone support from the original devices date of purchase, which in Canada is 79$ +tax.

  • Iphone 4s lock button pressed in

    Hi i have an Iphone 4s and suddenly the button has become pressed in so it no longer clicks or works. How do i got about fixing this, it's not in warranty. MY DIY skills are pretty bad. Thanks.

    If in warrenty and there is no accidental damage done to the device, Free
    If it's out of warrenty 199$

  • Iphone 5 lock button freezes buttons

    My iPhone 5 lock button presses fine and is smooth but when I press the button it screenshots and then freezes both the home and lock buttons from working. I am wondering why this is and if there is an easy way to fix this.

    Hello jason0819,
    It may help to reset your iPhone.
    iPhone, iPad, iPod touch: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/HT1430
    If the behavior persists, the next step would be a restore of the device.
    iOS: Back up and restore your iOS device with iCloud or iTunes
    http://support.apple.com/kb/HT1766
    Cheers,
    Allen

  • HT201365 I just updated to ios 7 on my iPhone 4 how do you turn the apps off when your not using them? The old way of double clicking and then pressing the app until a red minus button comes doesn't work it opens it back up!?

    I just updated to ios 7 on my iPhone 4 how do you turn the apps off when your not using them? The old way of double clicking and then pressing the app until a red minus button comes doesn't work it opens it back up!?

    Double click home button, then swipe up on app picture (not the icon itself)

  • When making a call, sometimes, my iPhone 5 , gets stuck on 'Calling' than I have to press END..but still nothing happens, than when I press HOME button, the call app keeps running in the background and it keeps saying CALLING... please help

    When making a call, sometimes, my iPhone 5 , gets stuck on 'Calling' than I have to press END..but still nothing happens, than when I press HOME button, the call app keeps running in the background and it keeps saying CALLING... than I have to wait 2 - 3 minutes and call again.
    please help

    Has nothing to do with the SIM or master reset.  This has been done to my phone.  The SIM once and the factory reset many times over.  You all just sold us a bad piece of equipment and have us by the tail with our contracts so none of us can get a new phone without paying full price or re-upping our contract.  I just got off the phone last night with your high up tech people (you know, the hidden number we get once we tear into your support people enough), they went into my phone again and still didn't find anything wrong.  I about got fired from my job for not getting my calls and texts.  The BBB has now been contacted, and I feel your end should shore this up for all of us!

  • IPhone 3G headset function button schematic

    Hey all. I am trying to figure a couple of things out in regards to the function button as on the standard iPhone headset.
    I have a motorcycle, and an older Autocom system (a helmet radio / voice switcher / etc), and am trying to integrate my iPhone. To do so, I need to make a male-male 3.5mm 4-pole TRRS cable, as nobody really seems to make one anywhere that I've been able to find. I've seen the various pin-outs for the wires if one wanted to simply go from connector A to connector B, but I am trying to find out how to wire in a function button (this way I can reject a call, pause playback, skip tracks, etc, without having to actually look at or touch the phone while I'm riding).
    I have found several pretty useful diagrams, the best of which is at this link:
    http://www.advrider.com/forums/showthread.php?t=276870
    The overall schematic of what I need to do here (as near as I can tell) is as follows:
    Tip (right speaker) --> Tip (right speaker)
    Ring1 (left speaker) --> Ring1 (left speaker)
    Ring2 (ground) --> Sleeve (microphone)
    Sleeve (microphone --> Ring2 (microphone)
    Supposedly one should be able to wire in a momentary switch, on the Ring2 and Sleeve wires. When this switch is activated, is how the phone interprets the function button being pressed, and does whatever it is the phone is programmed to do when that happens.
    What I am trying to figure out, basically, is how this switch works: a typical momentary switch is in either an always-open or always-closed state, and the switch action occurs when the circuit is either closed (as in an always-open switch) or opened (as in an always-closed switch). Push a button, switch is activated. Let go of the button, it returns to its normal default state.
    That would, however, imply that either Ring2 (ground, on the iPhone side), or Sleeve (the microphone, on the iPhone side) is either always disconnected, and the phone recognizes a function-button action when that circuit is completed momentarily; or, that the phone interprets a headset-function-button-push when that connection is interrupted. It could also be that the connections should be switched (Ring2 -> Ring2, Sleeve -> Sleeve) in order for that to happen. I really don't know.
    Does anybody here have any insight? In a nutshell, what I am trying to find out is how the iPhone recognizes that the function button on the headset has been pushed.
    Thanks very much, all!
    Dan

    Nevermind, actually, I just answered my own question, sorry everyone.
    If anyone is curious, shorting out the microphone signal to the ground is what activates the function button.
    Doh!

  • IPhone 5 power button randomly presses itself

    The past few days, my iPhone 5 has randomly pressed the power button and my screen will lock or go to a black screen that says "slide to power off". It does this over and over. I made a copy of the phone right after it started happening and then restored it and the problem persisted as soon as I downloaded an app. It does it during the middle of phone calls - which results in hang ups, on safari, music, everything, etc.
    Does anyone know how to fix this?

    Sounds like the power/sleep button is physically failing. The phone is under warranty. make an appointment at the genius bar and have it looked at.

  • TS3899 My iPhone & iPad mail is locked - Press mail app, the screen starts mail, freezes and bounces back to main menu. The fault occurred whilst opening a draft email created in the 'Mail 2 Group' app. Hard reset/reset all/restore backup have no effect -

    I installed the Mail 2 Group App on my iPAD, created an email which I saved to the 'Draft' folder, with something over 300 of my contacts in the bcc. On returning to this email, again in my iPad, the screen locked in mail for a few seconds and bounced bak to the main menu. This repeated on my iPhone, on which I have been carrying out my own checks - this includes deleting the Yahoo account, hard reset (red cross and two buttons), restoring a backup and Reset All in settings.
    I'm stuck !!

    Sending a message with that many addressees may have required more RAM than was available. You can clean up RAM as follows:
    Double-press the HOME button
    Kill each app by flicking its screen image up
    When all apps except the Home screen are closed press HOME
    Wait about 2 minutes for the shutdowns to finish
    Turn the phone off (hold the SLEEP button until "slide to power off" appears, and do so)
    Wait another minute
    Turn the phone back on by holding the SLEEP button until an Apple logo appears
    Now try to send the mail again. Note that you may have an unrelated problem if this works: Many ISPs (Yahoo included) limit the number of email recipients for a single message as a way to combat spam.

  • Volume of microphone button inaudible when pressed when overall volume on high and all other sounds/ringer/alert volume working fine! Is there a way to fix this? Was working fine yesterday.

    Hello, the volume of my microphone button in text messages is inaudible when pressed, even when my overall volume is on high and all other sounds/ringer/alerts volume are working fine! Is there a way to fix this? Was working fine yesterday. I've tried rebooting and turning Siri on and off, and can't think of what else to do. All googling results in posts about the mic not recording sound loud enough or not working. My mic works just fine; it does the job of recording, but I want the chime to be loud so I don't have to look at the screen to know when I can speak; I like to hear the chime to alert me. Any help is appreciated!
    iPhone 4s, iOS 6

    stewa348 wrote:
    I agree with you about the volume on the phone itself. (I have 3Gs). It needs to be louder. I also wear hearing aids. However I do think there may be something wrong with your phone because when I connect my earbuds (Klipsh) I get very good volume through them. In fact at full volume it's way too loud. I would push for a replacement phone.
    FWIW, my daughter (who also wears hearing aids) has trouble hearing her iphone. It appears to have more to do with the speaker not being lined up with the hearing aid's input. Her audiologist pointed out that some current hearing aids support bluetooth, I think we will get those next time we replace her hearing aids.

  • I have reached out  to this community as my Iphone display gone black and got the solution to keep home and power button pressed. It worked but I would like to know why it went black

    I have reached out  to this community as my Iphone display gone black and got the solution to keep home and power button pressed. It worked but I would like to know
    1. Why it went black and is there a permanent fix for this
    2.Will the IOS gets automatically updated as I feel the IOS was 5 when I got the phone in 2012 december
    3.Do you suggest 7.1 for Iphone 4

    1. There is no way of knowing. These things happen.
    2. The iOS only gets updated when you want it to be.
    3. You should always update to the latest iOS your phone will support. Apple do not write the updates to make your experience worse.

  • HT204266 I am unable to download an app to my iPad.  There is no button on the app to press to download.

    I am unable to download an app to my iPad.  There is no button on the app to press to download.

    Close All Open Apps...
    tbrighta3 wrote:
    Once it finished downloading the app disappeared and I can't find it.  The computer says it is installed but it is not on the iPad.  I have other apps do the same thing.
    1)  Check in All Folders and on All Pages/Screens...
    2)  If no joy... Settings > General > Reset > Reset Home Screen

  • My Iphone 5 home button  keeps pressing itself but stops if put pressure on the bottom of the screen on each side of the home button, i have noticed that there is a screw missing on the right side of the lightning port could this be the issue?

    My Iphone 5 home button  keeps pressing itself but stops if put pressure on the bottom of the screen on each side of the home button, i have noticed that there is a screw missing on the right side of the lightning port could this be the issue??

    If you are still under warranty, contact Apple to get it serviced. You can also visit an Apple Store or Authorized Apple Service Provider to get it looked at.
    iPhone - Contact Support - Apple Support

  • How do I activate the microphone button in imessage with the iphone 5 without using Siri?

    How do I activate the microphone button in imessage with the iphone 5 without using Siri?

    You don't. You have to activate Siri.

  • I rebooted my Iphone 5S, when I pressed the home button to enter my pass code the resolution must have been reset.  The font size is so large I can not enter my pass code.  How can I resolve this issue?

    I rebooted my Iphone 5S, when I pressed the home button to enter my pass code the resolution must have been reset.  The font size is so large I can not enter my pass code.  How can I resolve this issue?

    Triple click Home.
    After you get into the iPhone, Settings > General > Acessibility and set Zoom to Off.

Maybe you are looking for

  • Cell alignment problems

    hi, im currently working on a website with dreamweaver, its only the 2nd html site ive ever made. both sites have been photography portfolios, so involve thumbnailed galleries. i figured it would be easiest to use tables to create the pages, as the t

  • WRT54GS semi-disconnect?

    I've owned this router for about 3 days now, bought it brand new. I've noticed that it semi-disconnects. It tells me I'm not connected in the EasyLink Advisor, yet I'm using messengers just fine. However, if I close the messenger and try to reopen, i

  • Collapsible Pane

    I have a UI design where I'd like to be able to provide the capability for the user to expand and collapse a pane on the left side of the window for access to a search pane.  On the right side will be a pane with a table on the top containing a list

  • CWMS 2.0MR7 intermittent dead air on call-in and call-back for internal and external users

    Hello, I have got a new install of CWMS 2.0MR7 800 users non HA system. During initial testing we noticed that when we call-in or call-back there was a dead air even though the call is connected we don't hear welcome to WebEx....when we hang up and c

  • New laptop -- Mouse pad freezes randomly forcing me to restart my computer

    I purchased my HP ProBook 450 G1 laptop one week ago.  Since then, I have noticed that each day (at least once) my mouse pad will randomly freeze up.  I try to move the mouse but the mouse will only move within a millimeter or so range on the screen.