Basic sensors in iOS /
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 ca...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Sebastopol, CA :
O'Reilly,
©2011.
|
Edición: | 1st ed. |
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- 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