• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Detecting Bluetooth Devices
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Detecting Bluetooth Devices


  • Subject: Detecting Bluetooth Devices
  • From: Gordon Apple <email@hidden>
  • Date: Sat, 28 May 2011 15:27:55 -0500
  • Thread-topic: Detecting Bluetooth Devices

Title: Detecting Bluetooth Devices
I asked this in Cocoa-Dev but no response.  Is there a (public API) way in iOS to detect an external Bluetooth keyboard, or other device?  I also would like a way to get raw key clicks before the text system gets them.

I have a need to use a Bluetooth keyboard as a remote control (in one mode) and for editing in edit mode).  Also, there is another Bluetooth device which mimics the keyboard for a few commands.  In edit mode, the only issue is that I need to be able to detect things like an F-key (anything that is not text) to be able to switch back to remote mode.  I have implemented most of the required remote control features by using a hidden text field.  However, if the Bluetooth keyboard (or device) is not connected, I need to block the virtual keyboard from coming up.  Another issue I have run into is that the hidden text field, being first responder, even if I re-hide the virtual keyboard, shortens all my popovers to make room for the keyboard, even though it is not shown.  I would prefer to simply remove the hidden text field when no Bluetooth keyboard (or the other device) is not present, which is why I need detection.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Detecting Bluetooth Devices
      • From: "Quinn \"The Eskimo!\"" <email@hidden>
References: 
 >Re: Create VPN connections (From: Jeff Schindler <email@hidden>)

  • Prev by Date: Re: Create VPN connections
  • Next by Date: Re: Create VPN connections
  • Previous by thread: Re: Create VPN connections
  • Next by thread: Re: Detecting Bluetooth Devices
  • Index(es):
    • Date
    • Thread