Building iPhone Apps with HTML, CSS, and JavaScript

by
Edition: 1st
Format: Paperback
Pub. Date: 2010-01-28
Publisher(s): Oreilly & Associates Inc
  • Free Shipping Icon

    This Item Qualifies for Free Shipping!*

    *Excludes marketplace orders.

List Price: $31.49

Buy New

Arriving Soon. Will ship when available.
$29.99

Rent Book

Select for Price
There was a problem. Please try again later.

Rent Digital

Rent Digital Options
Online:1825 Days access
Downloadable:Lifetime Access
$28.79
$28.79

Used Book

We're Sorry
Sold Out

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

What people are saying about Building iPhone Apps w/ HTML, CSS, and JavaScript"The future of mobile development is clearly web technologies like CSS, HTML and JavaScript. Jonathan Stark shows you how to leverage your existing web development skills to build native iPhone applications using these technologies." --John Allsopp, author and founder of Web Directions "Jonathan's book is the most comprehensive documentation available for developing web applications for mobile Safari. Not just great tech coverage, this book is an easy read of purely fascinating mobile tidbits in a fun colloquial style. Must have for all PhoneGap developers." -- Brian LeRoux, Nitobi SoftwareIt's a fact: if you know HTML, CSS, and JavaScript, you already have the tools you need to develop your own iPhone apps. With this book, you'll learn how to use these open source web technologies to design and build apps for the iPhone and iPod Touch on the platform of your choice-without using Objective-C or Cocoa.Device-agnostic mobile apps are the wave of the future, and this book shows you how to create one product for several platforms. You'll find guidelines for converting your product into a native iPhone app using the free PhoneGap framework. And you'll learn why releasing your product as a web app first helps you find, fix, and test bugs much faster than if you went straight to the App Store with a product built with Apple's tools. Build iPhone apps with tools you already know how to use Learn how to make an existing website look and behave like an iPhone app Add native-looking animations to your web app using jQTouch Take advantage of client-side data storage with apps that run even when the iPhone is offline Hook into advanced iPhone features -- including the accelerometer, geolocation, and vibration -- with JavaScript Submit your applications to the App Store with XcodeThis book received valuable community input through O'Reilly's Open Feedback Publishing System (OFPS). Learn more at http://labs.oreilly.com/ofps.html.

Author Biography

Jonathan Stark is a web developer and leading expert on publishing desktop data to the web. Past clients include Staples, Turner Broadcasting, and the PGA Tour. Jonathan is the author of the book Web Publishing with PHP and FileMaker 9, is a regular speaker at the FileMaker Developer Conference, and is a tech editor for php|architect and FileMaker Advisor magazines.

Table of Contents

Prefacep. xi
Getting Startedp. 1
Web Apps Versus Native Apps?p. 1
What Is a Web App?p. 1
What Is a Native App?p. 1
Pros and Consp. 2
Which Approach Is Right for You?p. 2
Web Programming Crash Coursep. 3
Intro to HTMLp. 3
Intro to CSSp. 6
Intro to JavaScriptp. 9
Basic iPhone Stylingp. 13
First Stepsp. 14
Preparing a Separate iPhone Stylesheetp. 16
Controlling the Page Scalingp. 17
Adding the iPhone CSSp. 19
Adding the iPhone Look and Feelp. 21
Adding Basic Behavior with jQueryp. 23
What You've Learnedp. 28
Advanced iPhone Stylingp. 29
Adding a Touch of Ajaxp. 29
Traffic Copp. 29
Simple Bells and Whistlesp. 34
Roll Your Own Back Buttonp. 40
Adding an Icon to the Home Screenp. 46
Full Screen Modep. 48
Changing the Status Barp. 48
Providing a Custom Startup Graphicp. 49
What You've Learnedp. 50
Animationp. 51
With a Little Help from Our Friendp. 51
Sliding Homep. 51
Adding the Dates Panelp. 55
Adding the Date Panelp. 56
Adding the New Entry Panelp. 58
Adding the Settings Panelp. 60
Putting It All Togetherp. 62
Customizing jQ Touchp. 64
What You've Learnedp. 67
Client-Side Data Storagep. 69
localStorage and sessionStoragep. 69
Saving User Settings to localStoragep. 70
Saving the Selected Date to sessionStoragep. 73
Client-Side Databasep. 74
Creating a Databasep. 75
Inserting Rowsp. 78
Selecting Rows and Handling Result Setsp. 82
Deleting Rowsp. 86
What You've Learnedp. 89
Going Offlinep. 91
The Basics of the Offline Application Cachep. 91
Online Whitelist and Fallback Optionsp. 94
Creating a Dynamic Manifest Filep. 98
Debuggingp. 102
The JavaScript Consolep. 103
The Application Cache Databasep. 107
What You've Learnedp. 113
Going Nativep. 115
Intro to PhoneGapp. 115
Using the Screen's Full Heightp. 121
Customizing the Title and Iconp. 123
Creating a Startup Screenp. 130
Installing Your App on the iPhonep. 131
Controlling the iPhone with JavaScriptp. 136
Beep, Vibrate, and Alertp. 136
Geolocacionp. 140
Accelerometerp. 146
What You've Learnedp. 150
Submitting Your App to iTunesp. 151
Creating an iPhone Distribution Provisioning Profilep. 151
Installing the iPhone Distribution Provisioning Profilep. 153
Renaming the Projectp. 155
Prepare the Application Binaryp. 156
Submit Your Appp. 157
While You Waitp. 159
Further Readingp. 159
Indexp. 161
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.