Apache Cordova API Cookbook (Paperback)

John M. Wargo

  • 出版商: Addison Wesley
  • 出版日期: 2014-07-09
  • 售價: $1,225
  • 貴賓價: 9.5$1,164
  • 語言: 英文
  • 頁數: 320
  • 裝訂: Paperback
  • ISBN: 0321994809
  • ISBN-13: 9780321994806
  • 相關分類: Cross-Platform
  • 立即出貨 (庫存 < 3)

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

商品描述

Using Apache Cordova, mobile developers can write cross-platform mobile apps using standard HTML5, JavaScript, and CSS, and then deploy those apps to every leading mobile platform with little or no re-coding. Apache Cordova API Cookbook provides experienced mobile developers with details about how each Cordova API works and how to use the APIs in their own applications. Coverage is included for all Cordova/PhoneGap 3 APIs.

 

Instead of just showing short snippets of code to explain a particular API, this guide is chock full of complete examples. You’ll find more than thirty complete Cordova applications that work on Android, iOS, Windows, and more. The sample applications demonstrate exactly what each API does and how it works, while the chapter content describes the limitations on the leading target platforms (and even offers possible workarounds).

 

Through realistic “cookbook” example code, mobile developer John Wargo helps you master the Cordova APIs and understand how to use them in your Cordova applications.

 

Topics include

  • Accelerometers, compass, and geolocation
  • Image, video, and audio–capture, playback, and management
  • Determining connection and device information
  • Interacting with the Contacts application
  • Responding to application events
  • Accessing the device file system
  • Globalizing apps
  • Using the InAppBrowser
  • Notifications
  • Custom splash screens 

Special care has been taken to make the code easily readable and digestible by the reader. This guide provides the most accessible coverage, anywhere, of Apache Cordova APIs.

 

 

商品描述(中文翻譯)

使用Apache Cordova,移動開發者可以使用標準的HTML5、JavaScript和CSS編寫跨平台的移動應用程式,然後將這些應用程式部署到各個主要的移動平台,幾乎不需要重新編碼。《Apache Cordova API Cookbook》為有經驗的移動開發者提供了有關每個Cordova API的詳細資訊以及如何在自己的應用程式中使用這些API的方法。該書涵蓋了所有Cordova/PhoneGap 3的API。

這本指南不僅僅展示了簡短的程式碼片段來解釋特定的API,還提供了完整的範例。您將找到超過30個完整的Cordova應用程式,可在Android、iOS、Windows等平台上運行。這些範例應用程式確切地展示了每個API的功能和工作原理,而章節內容則描述了主要目標平台的限制(甚至提供了可能的解決方法)。

通過實際的“食譜”範例程式碼,移動開發者John Wargo幫助您掌握Cordova API並了解如何在Cordova應用程式中使用它們。

主題包括:
- 加速度計、指南針和地理定位
- 圖像、視頻和音頻的捕獲、播放和管理
- 確定連接和設備資訊
- 與聯絡人應用程式互動
- 回應應用程式事件
- 存取設備檔案系統
- 國際化應用程式
- 使用InAppBrowser
- 通知
- 自訂啟動畫面

特別注意使程式碼易於閱讀和理解。這本指南提供了Apache Cordova API最易於理解的涵蓋範圍。