It is always interesting to see why people do what they do and //Building iPhone Apps// showed us why Jonathan Stark is irritated with the apparent need to use higher programming languages in order to program simplistic iPhone apps. After doing some exploring, he found that you could create apps wit
Building iphone apps with html, css, and javascript: Making App Store Apps Without Objective-C or Cocoa
โ Scribed by Stark, Jonathan
- Publisher
- O'Reilly Media
- Year
- 2010;2011
- Tongue
- English
- Leaves
- 186
- Edition
- 1
- Category
- Library
No coin nor oath required. For personal study only.
โฆ Synopsis
What people are saying aboutBuilding 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 Software
It'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 Xcode
This book received valuable community input through O'Reilly's Open Feedback Publishing System (OFPS). Learn more athttp://labs.oreilly.com/ofps.html.
โฆ Table of Contents
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
Intro to HTML......Page 21
Intro to CSS......Page 24
Intro to JavaScript......Page 27
Chapterย 2.ย Basic iPhone Styling......Page 31
First Steps......Page 32
Preparing a Separate iPhone Stylesheet......Page 34
Controlling the Page Scaling......Page 35
Adding the iPhone CSS......Page 37
Adding the iPhone Look and Feel......Page 39
Adding Basic Behavior with jQuery......Page 41
What Youโve Learned......Page 46
Traffic Cop......Page 47
Simple Bells and Whistles......Page 52
Roll Your Own Back Button......Page 58
Adding an Icon to the Home Screen......Page 64
Changing the Status Bar......Page 66
Providing a Custom Startup Graphic......Page 67
What Youโve Learned......Page 68
Sliding Home......Page 69
Adding the Dates Panel......Page 73
Adding the Date Panel......Page 74
Adding the New Entry Panel......Page 76
Adding the Settings Panel......Page 78
Putting It All Together......Page 80
Customizing jQTouch......Page 82
What Youโve Learned......Page 85
localStorage and sessionStorage......Page 87
Saving User Settings to localStorage......Page 88
Saving the Selected Date to sessionStorage......Page 91
Client-Side Database......Page 92
Creating a Database......Page 93
Inserting Rows......Page 96
Error handling......Page 98
Selecting Rows and Handling Result Sets......Page 100
Deleting Rows......Page 104
What Youโve Learned......Page 107
The Basics of the Offline Application Cache......Page 109
Online Whitelist and Fallback Options......Page 112
Creating a Dynamic Manifest File......Page 116
Debugging......Page 120
The JavaScript Console......Page 121
The Application Cache Database......Page 125
What Youโve Learned......Page 131
Intro to PhoneGap......Page 133
Using the Screenโs Full Height......Page 139
Customizing the Title and Icon......Page 141
Creating a Startup Screen......Page 148
Installing Your App on the iPhone......Page 149
Beep, Vibrate, and Alert......Page 154
Geolocation......Page 158
Accelerometer......Page 164
What Youโve Learned......Page 168
Creating an iPhone Distribution Provisioning Profile......Page 169
Installing the iPhone Distribution Provisioning Profile......Page 171
Renaming the Project......Page 173
Prepare the Application Binary......Page 174
Submit Your App......Page 175
Further Reading......Page 177
Index......Page 179
โฆ Subjects
Computer Science;Programming;Science;Technology;Technical;Reference
๐ SIMILAR VOLUMES
In the hit or miss world of buying reference books, this one is a big hit! It's a very practical step-by-step guide to creating an iPhone app and -- most important -- THE EXAMPLES WORK. From nuggets on using -webkit to get the look and feel into the phone user's comfort zone, using JQuery to acco
<DIV><p><b>What people are saying about Building iPhone Apps w/ HTML, CSS, and JavaScript </p><p>"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 applic
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 tec
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 --
<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,