
Building Android Apps With HTML, CSS, and JavaScript
by Stark, Jonathan; Jepson, Brian (CON)Buy New
Buy Used
Rent Book
Rent Digital
How Marketplace Works:
- This item is offered by an independent seller and not shipped from our warehouse
- Item details like edition and cover design may differ from our description; see seller's comments before ordering.
- Sellers much confirm and ship within two business days; otherwise, the order will be cancelled and refunded.
- Marketplace purchases cannot be returned to eCampus.com. Contact the seller directly for inquiries; if no response within two days, contact customer service.
- Additional shipping costs apply to Marketplace purchases. Review shipping costs at checkout.
Summary
Author Biography
Table of Contents
Preface | p. ix |
Getting Started | p. 1 |
Web Apps Versus Native Apps | p. 1 |
What Is a Web App? | p. 1 |
What Is a Native App? | p. 1 |
Pros and Cons | p. 2 |
Which Approach Is Right for You? | p. 2 |
Web Programming Crash Course | p. 3 |
Introduction to HTML | p. 3 |
Introduction to CSS | p. 6 |
Introduction to JavaScript | p. 9 |
Bask Styling | p. 13 |
Don't Have a Website? | p. 13 |
First Steps | p. 15 |
Prepare a Separate Android Stylesheet | p. 19 |
Control the Page Scaling | p. 20 |
Adding the Android CSS | p. 22 |
Adding the Android Look and Feel | p. 26 |
Adding Basic Behavior with jQuery | p. 28 |
What You've Learned | p. 33 |
Advanced Styling | p. 35 |
Adding a Touch of Ajax | p. 35 |
Traffic Cop | p. 36 |
Setting Up Some Content to Work With | p. 38 |
Routing Requests with JavaScript | p. 39 |
Simple Bells and Whistles | p. 41 |
Progress Indicator | p. 41 |
Setting the Page Title | p. 44 |
Handling Long Titles | p. 46 |
Automatic Scroll-to-Top | p. 47 |
Hijacking Local Links Only | p. 49 |
Roll Your Own Back Button | p. 49 |
Adding an Icon to the Home Screen | p. 56 |
What You've Learned | p. 57 |
Animation | p. 59 |
With a Little Help from Our Friend | p. 59 |
Sliding Home | p. 59 |
Adding the Dates Panel | p. 62 |
Adding the Date Panel | p. 65 |
Adding the New Entry Panel | p. 68 |
Adding the Settings Panel | p. 70 |
Putting It All Together | p. 74 |
Customizing jQTouch | p. 76 |
What You've Learned | p. 78 |
Client-Side Data Storage | p. 79 |
Web Storage | p. 79 |
Saving User Settings to Local Storage | p. 80 |
Saving the Selected Date to Session Storage | p. 84 |
Web SQL Database | p. 85 |
Creating a Database | p. 86 |
Inserting Rows | p. 90 |
Selecting Rows and Handling Result Sets | p. 93 |
Deleting Rows | p. 97 |
Web Database Error Code Reference | p. 101 |
What You've Learned | p. 102 |
Going Offline | p. 103 |
The Basics of the Offline Application Cache | p. 103 |
Online Whitelist and Fallback Options | p. 107 |
Creating a Dynamic Manifest File | p. 113 |
Debugging | p. 117 |
The JavaScript Console | p. 118 |
What You've Learned | p. 120 |
Going Native | p. 121 |
Introduction to PhoneGap | p. 121 |
Building Your App Locally with Eclipse and the Android SDK | p. 122 |
Download and Install Eclipse Classic | p. 122 |
Download and Install the Android SDK | p. 123 |
Install the ADT Plug-In in Eclipse | p. 123 |
Add Android Platforms and Other Components | p. 124 |
Download the Latest Copy of PhoneGap | p. 125 |
Set Up a New Android Project | p. 125 |
Running Kilo as an Android App | p. 127 |
Controlling the Phone with JavaScript | p. 129 |
Beep, Vibrate, and Alert | p. 129 |
Geolocation | p. 133 |
Accelerometer | p. 140 |
What You've Learned | p. 143 |
Submitting Your App to the Android Market | p. 145 |
Preparing a Release Version of Your App | p. 145 |
Removing Debug Code | p. 145 |
Versioning Your App | p. 146 |
Compile and Sign Your App | p. 147 |
Uploading Your App to the Android Market | p. 147 |
Distributing Your App Directly | p. 149 |
Further Reading | p. 153 |
Appendix: Detecting Browsers with WURFL | p. 155 |
Table of Contents provided by Ingram. All Rights Reserved. |
An electronic version of this book is available through VitalSource.
This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.
By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.
Digital License
You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.
More details can be found here.
A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.
Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.
Please view the compatibility matrix prior to purchase.