Advertisement

Apps with Attitude

  • James Bucanek
Chapter

Abstract

In a feat of miniaturization that would make Wayne Szalinski proud, most iOS devices are equipped with an array of sensors that detect acceleration, rotation, and magnetic orientation—which is a lot of “ations.” The combined output of these sensors, along with a little math, will tell your app the attitude the device is being held in, whether it’s being moved or rotated (and how fast), the direction of gravity, and the direction of magnetic north, with surprising accuracy. You can incorporate this into your app to give it an uncanny sense of immediacy. You can present information based on the direction the user is holding their device, control games through physical gestures, tell them if the picture they’re about to take is level, and so much more.

Keywords

Motion Data Anchor Point Attachment Point Accelerometer Data Reference Coordinate System 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© James Bucanek 2013

Authors and Affiliations

  • James Bucanek
    • 1
  1. 1.AZUS

Personalised recommendations