Basic Sensors in iOS: Programming the Accelerometer, Gyroscope, and More (Paperback)

Alasdair Allan

  • 出版商: O'Reilly
  • 出版日期: 2011-08-30
  • 售價: $1,030
  • 貴賓價: 9.5$979
  • 語言: 英文
  • 頁數: 108
  • 裝訂: Paperback
  • ISBN: 1449308465
  • ISBN-13: 9781449308469
  • 相關分類: Apple Developer感測器 Sensor
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

相關主題

商品描述

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 iPad. This book helps you focus on:

Camera: learn how to take pictures and video, create video thumbnails, customize video, and save media to the photo album Audio: use the media picker controller and access the iPod music library in your own application, and enable your app to record and play sampled audio Accelerometer: write an application that uses this sensor to determine device orientation Magnetometer: learn how this sensor verifies compass headings Core Motion: use this framework to receive motion data from both the accelerometer and the vibrational gyroscope

商品描述(中文翻譯)

iPhone與筆記型電腦和個人電腦的區別在於其使用了內置的感應器,包括定位感應器。這本簡潔的書籍將帶領經驗豐富的iPhone和Mac開發人員詳細了解iPhone和iPad的硬件,並解釋這些感應器的工作原理以及它們的功能。

通過這本書,您將為每個感應器構建示例應用程序,並親自學習如何利用每個感應器產生的數據。您將獲得寶貴的經驗,可以立即應用於自己的iOS應用程序,包括iPhone、iPod touch和iPad。本書幫助您專注於以下方面:

相機:學習如何拍照和錄像,創建視頻縮略圖,自定義視頻,並將媒體保存到照片相冊
音頻:在您自己的應用程序中使用媒體選擇器控制器,訪問iPod音樂庫,並使您的應用程序能夠錄製和播放採樣音頻
加速度計:編寫一個使用此感應器來確定設備方向的應用程序
磁力計:了解此感應器如何驗證指南針方向
核心運動:使用此框架從加速度計和振動陀螺儀接收運動數據