
Building Android Apps with HTML, CSS, and JavaScript
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
More details
Other editions
Additional editions

Content
- Intro
- Table of Contents
- Preface
- Who Should Read This Book
- What You Need to Use This Book
- Conventions Used in This Book
- Using Code Examples
- Safari® Books Online
- How to Contact Us
- Acknowledgments
- Chapter 1. Getting Started
- Web Apps Versus Native Apps
- What Is a Web App?
- What Is a Native App?
- Pros and Cons
- Which Approach Is Right for You?
- Web Programming Crash Course
- Introduction to HTML
- Introduction to CSS
- Applying a stylesheet
- Introduction to JavaScript
- Chapter 2. Basic Styling
- Don't Have a Website?
- First Steps
- Prepare a Separate Android Stylesheet
- Control the Page Scaling
- Adding the Android CSS
- Adding the Android Look and Feel
- Adding Basic Behavior with jQuery
- What You've Learned
- Chapter 3. Advanced Styling
- Adding a Touch of Ajax
- Traffic Cop
- Setting Up Some Content to Work With
- Routing Requests with JavaScript
- Simple Bells and Whistles
- Progress Indicator
- Setting the Page Title
- Handling Long Titles
- Automatic Scroll-to-Top
- Hijacking Local Links Only
- Roll Your Own Back Button
- Adding an Icon to the Home Screen
- What You've Learned
- Chapter 4. Animation
- With a Little Help from Our Friend
- Sliding Home
- Adding the Dates Panel
- Adding the Date Panel
- Adding the New Entry Panel
- Adding the Settings Panel
- Putting It All Together
- Customizing jQTouch
- What You've Learned
- Chapter 5. Client-Side Data Storage
- Web Storage
- Saving User Settings to Local Storage
- Saving the Selected Date to Session Storage
- Web SQL Database
- Creating a Database
- Inserting Rows
- Error handling
- Selecting Rows and Handling Result Sets
- Deleting Rows
- Web Database Error Code Reference
- What You've Learned
- Chapter 6. Going Offline
- The Basics of the Offline Application Cache
- Online Whitelist and Fallback Options
- Creating a Dynamic Manifest File
- Debugging
- The JavaScript Console
- What You've Learned
- Chapter 7. Going Native
- Introduction to PhoneGap
- Building Your App Locally with Eclipse and the Android SDK
- Download and Install Eclipse Classic
- Download and Install the Android SDK
- Install the ADT Plug-In in Eclipse
- Add Android Platforms and Other Components
- Download the Latest Copy of PhoneGap
- Set Up a New Android Project
- Running Kilo as an Android App
- Controlling the Phone with JavaScript
- Beep, Vibrate, and Alert
- Geolocation
- Accelerometer
- What You've Learned
- Chapter 8. Submitting Your App to the Android Market
- Preparing a Release Version of Your App
- Removing Debug Code
- Versioning Your App
- Compile and Sign Your App
- Uploading Your App to the Android Market
- Distributing Your App Directly
- Further Reading
- Appendix. Detecting Browsers with WURFL
- Installation
- Configuration
- Testing wurfl-php
System requirements
File format: ePUB
Copy protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePub works well for novels and non-fiction books – i.e., „flowing” text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our ebook Help page.