Building Hybrid Android Apps with Java and JavaScript

Building Hybrid Android Apps with Java and JavaScript
Authors
LinleyDolby & DavidFutato & RebeccaDemarest & RandyComer & Laurent, Simon St. & Gok, Nizamettin & Khanna, Nitin
Publisher
O'Reilly Media
Tags
computers , programming languages , javascript
ISBN
9781449361914
Date
2013-08-07T00:00:00+00:00
Size
5.14 MB
Lang
en
Downloaded: 54 times

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