Learn HTML5 and JavaScript for Android [electronic resource] /
Williams, Gavin.author.
Learn HTML5 and JavaScript for Android teaches the essential HTML5 and JavaScript skills you need to make great apps for the Android platform and browser. This book guides you through the creation of a mobile web app. You'll put the HTML5, CSS3 and JavaScript skills you learn into practice, giving you invaluable first-hand experience that will serve you well as you go on to develop your own web apps for Android smartphones and tablets. Throughout this book, you will learn new skills and bring these altogether to create a web app that runs on the Android platform as well as other mobile platforms.
Title Page; Copyright Page; Contents at a Glance; Table of Contents; About the Author; About the Technical Reviewer; Introduction; Who This Book Is For; How This Book Is Structured; Downloading the Code; Contacting the Author; Chapter 1: Getting Started; Choosing a Device to Test With; Setting Up Your Development Environment; Aptana; Android SDK; SASS; Apache; Summary; Chapter 2: An Introduction to Creating Mobile Web Apps for Android; What's Different About the Mobile Web?; Object/Feature Detection; Screen Sizes and Pixel Density; Catering to Your Audience; Task Based; Social; Entertainment
Web Apps vs. Native AppsThe First Line of Code: Hello World; Setting Up; HTML; Testing; Summary; Chapter 3: HTML5; What's New?; ; ; ; ;  and ; ; ; ; ; ; ; ; ; ; Handling Multimedia in HTML5; Optimizing Video for the Mobile Web; Hosted Solutions; Desktop Solutions; Encoding Videos with Bits on the Run; Embedding Video with HTML5; Optimizing Audio for the Mobile Web; Encoding audio with audacity; Embedding Audio with HTML5; HTML5 Mobile Forms
Fields for Different Data TypesSummary; Chapter 4: Starting Your Project Using HTML5; Paging Strategies; Paging with Standard HTML; Paging with Single-Page Ajax; Paging with a Single-Page Container; Creating the App; Planning MoMemo; Creating the Ul and HTML; Creating the Movie List; Movie Search and add; Movie Info; Summary; Chapter 5: CSS3 for Mobile; Vendor-Specific Properties; CSS Animations and Transitions; Transitions; Animations; New CSS3 Features; @font-face; text-shadow and text-stroke; Selectors; Useful Form Selectors; Useful Selectors to Replace JavaScript; Gradients
Linear GradientsRadial Gradients; Borders; border-radius; box-shadow; CSS Media Queries; CSS Precompilers (SASS); Nesting; Compiling; Partials; Variables and Interpolation; Mixins; Selector Inheritance; Summary; Chapter 6: Laying the CSS3 Foundations; Getting Organized; Creating the Partials; Automatically Compiling Sass in Aptana; Summary; Chapter 7: JavaScript for Mobile; Object-Oriented JavaScript; Handling Touch Events; Getting a User's Location; Drawing with Canvas; Drawing the Stop Icon; Drawing the Play Icon; Drawing the Playback Head; Storing Data; JavaScript Libraries for Mobile
File SizeNumber of Files; Activity; CSS3 Support; Summary; Chapter 8: JavaScript: Models, Views, and Controllers; Cleaning Up Your Code; MVC and a JavaScript Primer; The Model; The Video Source Model; The Video Model; The Actor Model; The Movie Model; Validation; Applying Validation to Models; Throwing and Handling Exceptions; Strengthening the Models; Creating New Types; Application Utilities; Managing the Deck; Sending Cross-Site Requests; Controlling the Layout and Handling Resizes; The View; The Movie List Item View; The Movie List View; The Movie View; The Bootstrap and Controller
The Bootstrap
Includes index.
Learn HTML5 and JavaScript for Android teaches the essential HTML5 and JavaScript skills you need to make great apps for the Android platform and browser. This book guides you through the creation of a mobile web app. You'll put the HTML5, CSS3 and JavaScript skills you learn into practice, giving you invaluable first-hand experience that will serve you well as you go on to develop your own web apps for Android smartphones and tablets. Throughout this book, you will learn new skills and bring these altogether to create a web app that runs on the Android platform as well as other mobile platforms.
Android (Electronic resource)
Mobile computing.
Application software.
Mobile Computing.
Computer Applications.