Building iPhone OS Accessories

Use the iPhone Accessories API to Control and Monitor Devices

By Ken Maskrey

This book provides a serious, in-depth look at Apple's External Accessory framework and the iPhone Accessories API. You'll learn how to create new, integrated solutions that combine iPhone apps with dedicated hardware.

Full Description

  • ISBN13: 978-1-4302-2931-5
  • User Level: Intermediate to Advanced
  • Publication Date: June 6, 2010
  • Available eBook Formats: EPUB, MOBI, PDF
  • Print Book Price: $64.99
  • eBook Price: $45.99
Buy eBook Buy Print Book Add to Wishlist

Related Titles

Full Description

This book provides a serious, in-depth look at Apple’s External Accessory framework and the iPhone Accessories API. You’ll learn how to create new, integrated solutions that combine iPhone apps with dedicated hardware.

The iPhone OS Accessories API expands the opportunities for innovative iPhone developers, allowing you to control and monitor external devices, whether you’ve built them yourself or obtained them from a third party.

What you’ll learn

  • Develop accessories and apps for the iPhone and iPod touch.
  • Use Apple’s External Accessory framework to create hardware/software interaction.
  • Control and monitor external devices using the iPhone Accessories API.
  • Use the specific controller classes within the iPhone OS software development kit.
  • Build and control your own accessory.
  • Get your accessories approved by Apple’s AE program.

Who this book is for

This book is for iPhone and iPod touch developers who want to write apps to control external accessories and hardware developers who want to create accessories for iPhone and iPod touch. This includes embedded systems programmers who have been left out of the iPhone gold rush until now.

The iPhone OS Accessories API expands the market of iPhone developers yet again, and this book is for all those developers wanting to use these new APIs to control and monitor external device—whether self-built or acquired from other sources.

Table of Contents

Table of Contents

  1. Accessory Overview
  2. EAAccessory Framework
  3. EA Framework Design Patterns
  4. The Game Controller
  5. Specifying a Pong Game
  6. Coding a Pong Game
  7. Adding the Game Controller
  8. Improving the Design
  9. Apple Developer Programs
  10. Hardware Design
  11. Firmware
  12. Everything Else
Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.

Errata

Please Login to submit errata.

No errata are currently published