Building Hybrid Android Apps with Java and JavaScript
Applying Native Device APIs
Publisher: O'Reilly Media
Final Release Date: July 2013
Pages: 156

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
Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyBuilding Hybrid Android Apps with Java and JavaScript
 
4.0

(based on 1 review)

Ratings Distribution

  • 5 Stars

     

    (0)

  • 4 Stars

     

    (1)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

Reviewed by 1 customer

Displaying review 1

Back to top

(3 of 5 customers found this review helpful)

 
4.0

Good detailed overview of hybrid apps

By Produke

from madrid

About Me Designer, Developer

Verified Reviewer

Pros

  • Concise
  • Easy to read
  • Easy to understand
  • Helpful examples

Cons

  • Examples More Complex
  • Miss More Examples

Best Uses

  • Expert
  • Intermediate

Comments about oreilly Building Hybrid Android Apps with Java and JavaScript:

This the first edition of what is starting to be most important web development nowadays.

"Building Hybrid Android Apps with Java and JavaScript" is a book from O'Reilly and was given to me free in exchange of this review. You can find it here: http://shop.oreilly.com/product/0636920028994.do

I wanted to read about the subject because i will need to do a project in the near future and have to decide whether or not the app should be

Native apps, built for a specific platform with the platform SDK (which is isn´t totally free).
Mobile Web apps are server-side apps, built with any server-side technology (PHP, Node.js, ASP.NET) that render HTML that has been styled so that it renders well on a device form factor. This solution is a steep harder developpment curve than the previous one.
And the Hybrid apps, like native apps, run on the device, and are written with web technologies (HTML5, CSS and JavaScript). A web-to-native abstraction layer enables access to device capabilities that are not accessible in Mobile Web applications, such as the accelerometer, camera and local storage.
Thinking of JQuery mobile and other libraries that really embed the app in the browser and taking full advantage of html5 to do stuff such as local storage for off-line usage! And no need to know Java, Objective-C and other SDK language related to native app. THis hybrid apps will be written -almost- once and will work in any device.

The book "Building Hybrid Android Apps with Java and JavaScript"gives a very general but accurate and detailed view of the concept, tools and steps you need to follow to successfully create your hybrid app.

The book focuses on developping android hybrid app using Eclipse IDE. All the Android tools (debugger, virtual machine,etc.) are described and you can start from scratch without knowing anything about this area in particular of software development and yet creating you hybrid app. A large part of the book shows how is the interaction -the glue!- between the mobile browser WebKit and the call from/to java to JavaScript and vice-verso.

The book mentioned also a lightweight web application framework developed for building hybrid applications that can be found in github site.

It even shows you how to publish it in android market, sorry, Google Play! And Amazon app store!

I would definitively recommend it but i would say that this is really a starting point. A lot of code needs to be done and tested for a complete app.

Displaying review 1

Back to top

 
Buy 2 Get 1 Free Free Shipping Guarantee
Buying Options
Immediate Access - Go Digital what's this?
Ebook: $16.99
Formats:  DAISY, ePub, Mobi, PDF
Print & Ebook: $21.99
Print: $19.99