Learn HTML5 and JavaScript for Android

Book description

HTML5, CSS3 and JavaScript are the chisels web designers and developers use to design and build great web sites. But, you can build great Web apps. But, how do you use web-standards based apps that can run on mobile devices like Android smartphones and tablets?

Learn HTML5 and JavaScript for Android guides you through learning the essential HTML5 and JavaScript skills needed for the Android platform and browsers. In this book, you get the HTML5, CSS3 and JavaScript skills necessary for creating your first Web apps from the ground up for, or that run effectively on Android smartphones, tablets and other devices with browsers.

Throughout book, you apply the knowledge and skills just gained, and bring these altogether to create a fairly complex multimedia web app that runs on the Android platform as well as even other mobile platforms. This book is Android 4.0 compliant.

Table of contents

  1. Titlepage
  2. Dedication
  3. Contents at a Glance
  4. Contents
  5. About the Author
  6. About the Technical Reviewer
  7. Introduction
  8. Chapter 1: Getting Started
    1. Choosing a Device to Test With
    2. Setting Up Your Development Environment
    3. Summary
  9. Chapter 2: An Introduction to Creating Mobile Web Apps for Android
    1. What’s Different About the Mobile Web?
    2. Catering to Your Audience
    3. Web Apps vs. Native Apps
    4. The First Line of Code: Hello World
    5. Summary
  10. Chapter 3: HTML5
    1. What’s New?
    2. Handling Multimedia in HTML5
    3. HTML5 Mobile Forms
    4. Summary
  11. Chapter 4: Starting Your Project Using HTML5
    1. Paging Strategies
    2. Creating the App
    3. Summary
  12. Chapter 5: CSS3 for Mobile
    1. Vendor-Specific Properties
    2. CSS Animations and Transitions
    3. New CSS3 Features
    4. CSS Media Queries
    5. CSS Precompilers (SASS)
    6. Summary
  13. Chapter 6: Laying the CSS3 Foundations
    1. Getting Organized
    2. Creating the Partials
    3. Automatically Compiling Sass in Aptana
    4. Summary
  14. Chapter 7: JavaScript for Mobile
    1. Object-Oriented JavaScript
    2. Handling Touch Events
    3. Getting a User’s Location
    4. Drawing with Canvas
    5. Storing Data
    6. JavaScript Libraries for Mobile
    7. Summary
  15. Chapter 8: JavaScript: Models, Views, and Controllers
    1. Cleaning Up Your Code
    2. MVC and a JavaScript Primer
    3. The Model
    4. Applying Validation to Models
    5. Creating New Types
    6. Application Utilities
    7. The View
    8. The Bootstrap and Controller
    9. Styling the Content
    10. Putting It All Together
    11. Concatenating, Minifying, and Caching
    12. Debugging with Chrome for Android
    13. Summary
  16. Chapter 9: Testing and Deploying Your Mobile Web App
    1. Source Control Management
    2. Testing
    3. Deploying Your Application
    4. Continuous Integration Server
    5. Your First Continuous Integration Project
    6. Summary
  17. Appendix
    1. Listing A-1
    2. Listing A-2
  18. Index

Product information

  • Title: Learn HTML5 and JavaScript for Android
  • Author(s):
  • Release date: August 2012
  • Publisher(s): Apress
  • ISBN: 9781430243472