Basic Sensors in iOS: Programming the Accelerometer, Gyroscope, and More (Paperback)
暫譯: iOS 基本感測器:加速度計、陀螺儀及其他編程指南 (平裝本)

Alasdair Allan

  • 出版商: O'Reilly
  • 出版日期: 2011-08-30
  • 售價: $1,050
  • 貴賓價: 9.5$998
  • 語言: 英文
  • 頁數: 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 音樂庫,讓您的應用程式能夠錄製和播放取樣音訊
加速度計:撰寫一個使用此感測器來確定裝置方向的應用程式
磁力計:了解此感測器如何驗證指南針方向
核心運動:使用此框架接收來自加速度計和振動陀螺儀的運動數據