1 option
Basic sensors in iOS / Alasdair Allan ; editor, Brian Jepson ; illustrator, Robert Romano.
- Format:
- Book
- Author/Creator:
- Allan, Alasdair.
- Language:
- English
- Subjects (All):
- iOS (Electronic resource).
- iPhone (Smartphone)--Programming.
- iPhone (Smartphone).
- iPod touch (Digital music player)--Programming.
- iPod touch (Digital music player).
- iPad (Computer)--Programming.
- iPad (Computer).
- Application software--Development.
- Application software.
- Physical Description:
- 1 online resource (106 p.)
- Edition:
- First edition.
- Place of Publication:
- Sebastopol, California : O'Reilly, 2011.
- Language Note:
- English
- System Details:
- text file
- Summary:
- What really sets the iPhone apart from laptops and PCs is its use of onboard sensors, including those that are location-enabled. This concise book takes experienced iPhone and Mac developers on a detailed tour of iPhone and iPad hardware by explaining how these sensors work, and what they're capable of doing. With this book, you'll build sample applications for each sensor, and learn hands-on how to take advantage of the data each sensor produces. You'll gain valuable experience that you can immediately put to work inside your own iOS applications for the iPhone, iPod touch, and
- Contents:
- Table of Contents; Preface; Who Should Read This Book?; What You Should Already Know?; What Will You Learn?; What's In This Book?; Conventions Used in This Book; Using Code Examples; Safari® Books Online; How to Contact Us; Acknowledgments; Chapter 1. The Hardware; Available Sensor Hardware; Differences Between iPhone and iPad; Device Orientation and the iPad; Going beyond basic support; Detecting Hardware Differences; Camera Availability; Audio Input Availability; GPS Availability; Magnetometer Availability; Setting Required Hardware Capabilities; Persistent WiFi; Background Modes
- Chapter 2. Using the CameraThe Hardware; Capturing Stills and Video; Video Thumbnails; Video Thumbnails Using the UIImagePicker; Video Thumbnails Using AVFoundation; Saving Media to the Photo Album; Video Customization; Chapter 3. Using Audio; The Hardware; Media Playback; Recording and Playing Audio; Recording Audio; Playing Audio; Chapter 4. Using the Accelerometer; About the Accelerometer; Writing an Accelerometer Application; Determining Device Orientation; Determining Device Orientation Directly Using the Accelerometer; Obtaining Notifications when Device Orientation Changes
- Which Way Is Up?Convenience Methods for Orientation; Detecting Shaking; Chapter 5. Using the Magnetometer; About the Magnetometer; Writing a Magnetometer Application; Determining the Heading in Landscape Mode; Measuring a Magnetic Field; Chapter 6. Using Core Motion; Core Motion; Pulling Motion Data; Pushing Motion Data; Accessing the Gyroscope; Measuring Device Motion; Comparing Device Motion with the Accelerometer; Chapter 7. Going Further; The iPhone SDK; Geolocation and Maps; Third-Party SDKs; Speech Recognition; Computer Vision; Augmented Reality; External Accessories
- Notes:
- "Programming the accelerometer, gyroscope, camera, and magnetometer"--Cover.
- Description based on print version record.
- ISBN:
- 9781449315429
- 1449315429
- 9781449315979
- 1449315976
- OCLC:
- 775301774
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.