๐”– Scriptorium
โœฆ   LIBER   โœฆ

๐Ÿ“

Building Android Apps with HTML, CSS, and JavaScript

โœ Scribed by Jonathan Stark


Publisher
O'Reilly Media
Year
2010
Tongue
English
Leaves
182
Edition
1
Category
Library

โฌ‡  Acquire This Volume

No coin nor oath required. For personal study only.

โœฆ Synopsis


If you know HTML, CSS, and JavaScript, you already have the tools you need to develop Android applications. This hands-on book shows you how to use these open source web standards to design and build apps that can be adapted for any Android device -- without having to use Java.

You'll learn how to create an Android-friendly web app on the platform of your choice, and then convert it to a native Android app with the free PhoneGap framework. Discover why device-agnostic mobile apps are the wave of the future, and start building apps that offer greater flexibility and a broader reach.

  • Learn the basics for making a web page look great on the Android web browser
  • Convert a website into a web application, complete with progress indicators and more
  • Add animation with jQTouch to make your web app look and feel like a native Android app
  • Take advantage of client-side data storage with apps that run even when the Android device is offline
  • Use PhoneGap to hook into advanced Android features -- including the accelerometer, geolocation, and alerts
  • Test and debug your app on the Web under load with real users, and then submit the finished product to the Android Market
This book received valuable community input through O'Reilly's Open Feedback Publishing System (OFPS). Learn more at http://labs.oreilly.com/ofps.html.

โœฆ Table of Contents


Copyright......Page 6
Table of Contents......Page 9
Preface......Page 13
Conventions Used in This Book......Page 14
Safariยฎ Books Online......Page 15
Acknowledgments......Page 16
What Is a Native App?......Page 19
Which Approach Is Right for You?......Page 20
Introduction to HTML......Page 21
Introduction to CSS......Page 24
Applying a stylesheet......Page 26
Introduction to JavaScript......Page 27
Donโ€™t Have a Website?......Page 31
First Steps......Page 32
Prepare a Separate Android Stylesheet......Page 35
Control the Page Scaling......Page 37
Adding the Android CSS......Page 38
Adding the Android Look and Feel......Page 41
Adding Basic Behavior with jQuery......Page 43
What Youโ€™ve Learned......Page 49
Traffic Cop......Page 51
Routing Requests with JavaScript......Page 54
Progress Indicator......Page 56
Setting the Page Title......Page 59
Handling Long Titles......Page 61
Automatic Scroll-to-Top......Page 62
Hijacking Local Links Only......Page 63
Roll Your Own Back Button......Page 64
Adding an Icon to the Home Screen......Page 70
What Youโ€™ve Learned......Page 71
Sliding Home......Page 73
Adding the Dates Panel......Page 76
Adding the Date Panel......Page 78
Adding the New Entry Panel......Page 80
Adding the Settings Panel......Page 82
Putting It All Together......Page 84
Customizing jQTouch......Page 86
What Youโ€™ve Learned......Page 88
Web Storage......Page 89
Saving User Settings to Local Storage......Page 90
Saving the Selected Date to Session Storage......Page 93
Web SQL Database......Page 94
Creating a Database......Page 96
Inserting Rows......Page 98
Error handling......Page 100
Selecting Rows and Handling Result Sets......Page 102
Deleting Rows......Page 106
Web Database Error Code Reference......Page 109
The Basics of the Offline Application Cache......Page 111
Online Whitelist and Fallback Options......Page 114
Creating a Dynamic Manifest File......Page 117
Debugging......Page 123
The JavaScript Console......Page 124
What Youโ€™ve Learned......Page 126
Introduction to PhoneGap......Page 127
Download the Android SDK......Page 128
Download PhoneGap......Page 132
Setting Up the Environment......Page 133
Create an Android Virtual Device......Page 135
Build KiloGap......Page 136
Installing KiloGap in the Emulator......Page 140
Using the Screenโ€™s Full Height......Page 143
Customizing the App Icon......Page 144
Installing KiloGap on Your Phone......Page 145
Beep, Vibrate, and Alert......Page 146
Geolocation......Page 150
Accelerometer......Page 155
What Youโ€™ve Learned......Page 158
Removing Debug Code......Page 159
Signing Your App......Page 160
Uploading Your App to the Android Market......Page 164
Distributing Your App Directly......Page 165
Further Reading......Page 166
Installation......Page 169
Configuration......Page 170
Testing wurfl-php......Page 171
Index......Page 173


๐Ÿ“œ SIMILAR VOLUMES


Building Android Apps with HTML, CSS, an
โœ Jonathan Stark ๐Ÿ“‚ Library ๐Ÿ“… 2010 ๐Ÿ› O'Reilly Media ๐ŸŒ English

If you know HTML, CSS, and JavaScript, you already have the tools you need to develop Android applications. This hands-on book shows you how to use these open source web standards to design and build apps that can be adapted for any Android device -- without having to use Java. You'll learn how to c

Building Android Apps with HTML, CSS, an
โœ Jonathan Stark ๐Ÿ“‚ Library ๐Ÿ“… 2010 ๐Ÿ› O'Reilly Media ๐ŸŒ English

<DIV><p>If you know HTML, CSS, and JavaScript, you already have the tools you need to develop Android applications. This hands-on book shows you how to use these open source web standards to design and build apps that can be adapted for any Android device -- <i>without</i> having to use Java.</p><p>

Building Android Apps with HTML, CSS, an
โœ Jonathan Stark, Brian Jepson ๐Ÿ“‚ Library ๐Ÿ“… 2012 ๐Ÿ› O'Reilly Media ๐ŸŒ English

Itโ€™s true: if you know HTML, CSS, and JavaScript, you already have the tools you need to develop Android applications. Now updated for HTML5, the second edition of this hands-on guide shows you how to use open source web standards to design and build apps that can be adapted for any Android device.

Building iPhone apps with HTML, CSS, and
โœ Jonathan Stark ๐Ÿ“‚ Library ๐Ÿ“… 2010 ๐Ÿ› O'Reilly ๐ŸŒ English

Provides step-by-step instructions on creating a variety of applications for the iPhone and iPod Touch using HTML, CSS, and JavaScript instead of Objective-C or Cocoa. Getting started -- Basic iPhone styling -- Advanced iPhone styling -- Animation -- Client-side data storage -- Going offline --

Building iPhone Apps with HTML, CSS, and
โœ Jonathan Stark ๐Ÿ“‚ Library ๐Ÿ“… 2010 ๐Ÿ› OReilly Media ๐ŸŒ English

<p>Its a fact: if you know HTML, CSS, and JavaScript, you already have what you need to develop your own iPhone apps. With <i>Building iPhone Apps w/ HTML, CSS, and JavaScript</i>, youll learn how to use these open source web technologies to design and build apps for both the iPhone and iPod Touch,