iPhone OS and external keyboards | iLounge Article


iPhone OS and external keyboards

Ask iLounge offers readers the opportunity to get answers to their iPod-, iPhone-, iPad-, iTunes-, or Apple TV-related questions from a member of the iLounge editorial team. We'll answer several questions here each week, and of course, you can always get help with more immediate concerns from the iLounge Discussion Forums. Submit your questions for consideration using our Ask iLounge Submit Form. We reserve the right to edit questions for grammar, spelling, and length.

View the complete Ask iLounge archives...


Any word on when we may see the first Bluetooth keyboards for the iPhone? Does the latest iPhone OS allow it?

- Paul


Unfortunately, this is a slightly more complicated issue than one might expect. Although iPhone OS 3.0 introduced support for third-party applications to access the Dock Connector and Bluetooth hardware for the sake of communicating with third-party accessories, Apple did not provide any driver frameworks for any specific devices like keyboards or game controllers. In other words, although individual applications can access raw data from the Dock Connector and Bluetooth stack, they have to interpret this data and deal with it themselves.

What this essentially means is that each individual application must provide its own driver support for third-party accessories, including keyboards. This also means that there is no capability written into the OS for the use of external keyboards in any of the iPhone’s own built-in apps such as Mail or Safari. Further, the iPhone SDK does not allow third-party developers to write low-level device drivers or background processes to run on the iPhone—each app must run in its own “sandbox” and terminate when exited.

The result of this is that while it’s technically possible for a manufacturer to develop a Bluetooth keyboard for the iPhone, this keyboard would only work with third-party applications specifically designed to support that particular Bluetooth keyboard, and this support would have to be implemented on an application-by-application basis.

Theoretically, there is no reason why iPhone applications could not be written to take advantage of existing Bluetooth keyboards for other PDA and smartphone devices, except for the fact that each developer would have to code in their own keyboard driver into their own application, requiring much more effort than on other devices where these keyboards are supported by the operating system itself.

With all of these additional complications, it is unlikely that we will see mainstream accessory manufacturers develop iPhone keyboards until such time as Apple themselves provide actual keyboard support in the iPhone OS itself.


« Adjusting ratings in a remote iTunes library

Refreshing random Smart Playlists »

Related Stories

iLounge Weekly

Recent News

Recent Reviews

Recent Articles

Sign up for the iLounge Weekly Newsletter

iLounge is an independent resource for all things iPod, iPhone, iPad, and beyond.
iPod, iPhone, iPad, iTunes, Apple TV, Mac, and the Apple logo are trademarks of Apple Inc.
iLounge is © 2001 - 2018 iLounge, Inc. All Rights Reserved. Terms of Use | Privacy Policy