Building Hybrid Android Apps with Java and JavaScript: Applying Native Device APIs (Paperback)

Nizamettin Gok, Nitin Khanna

  • 出版商: O'Reilly
  • 出版日期: 2013-09-03
  • 定價: $700
  • 售價: 8.0$560
  • 語言: 英文
  • 頁數: 156
  • 裝訂: Paperback
  • ISBN: 1449361919
  • ISBN-13: 9781449361914
  • 相關分類: AndroidJava 程式語言JavaScript
  • 立即出貨 (庫存 < 4)

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

相關主題

商品描述

Build HTML5-based hybrid applications for Android with a mix of native Java and JavaScript components, without using third-party libraries and wrappers such as PhoneGap or Titanium. This concise, hands-on book takes you through the entire process, from setting up your development environment to deploying your product to an app store.

Learn how to create apps that have access to native APIs, such as location, vibrator, sensors, and the camera, using a JavaScript/Java bridge—and choose the language that gives you better performance for each task. If you have experience with HTML5 and JavaScript, you’ll quickly discover why hybrid app development is the wave of the future.

  • Set up a development environment with HTML, CSS, and JavaScript tools
  • Create your first hybrid Android project, using Eclipse IDE
  • Use the WebView control to host your hybrid application
  • Explore hybrid application architecture, including JavaScript/Java communication
  • Build single-page applications, using JavaScript libraries such as Backbone and Underscore
  • Get optimization tips and useful snippets for CSS, DOM, and JavaScript
  • Distribute your application to Google Play and the Amazon Appstore

商品描述(中文翻譯)

使用原生的Java和JavaScript組件,而不使用PhoneGap或Titanium等第三方庫和封裝,來為Android建立基於HTML5的混合應用程式。這本簡潔而實用的書籍將帶領您完成整個過程,從設置開發環境到將產品部署到應用商店。

學習如何創建具有對本地API的訪問權限的應用程式,例如位置、震動器、傳感器和相機,使用JavaScript/Java橋接器,並選擇在每個任務中提供更好性能的語言。如果您具有HTML5和JavaScript的經驗,您將很快發現混合應用程式開發是未來的趨勢。

- 使用HTML、CSS和JavaScript工具設置開發環境
- 使用Eclipse IDE創建您的第一個混合Android項目
- 使用WebView控件來托管您的混合應用程式
- 探索混合應用程式架構,包括JavaScript/Java通信
- 使用JavaScript庫(如Backbone和Underscore)構建單頁應用程式
- 獲取CSS、DOM和JavaScript的優化提示和有用的片段
- 將您的應用程式分發到Google Play和Amazon Appstore