售 价:¥
温馨提示:此类商品不支持退换货,不支持下载打印
为你推荐
iPhone JavaScript Cookbook
Table of Contents
iPhone JavaScript Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Frameworks Make Life Easier
Introduction
Installing the iUI framework
Getting ready
How to do it...
How it works...
There's more...
Installing the UiUIKit framework
Getting ready
How to do it...
How it works...
There's more...
Installing the XUI framework
Getting ready
How to do it...
How it works...
Installing the iWebKit framework
Getting ready
How to do it...
How it works...
There's more...
Installing the WebApp.Net framework
Getting ready
How to do it...
How it works...
There's more...
Installing the PhoneGap framework
Getting ready
How to do it...
How it works...
Installing the Sencha Touch framework
Getting ready
How to do it...
How it works...
Installing the Apple Dashcode framework
Getting ready
How to do it...
How it works...
2. Building Interfaces
Introduction
Creating a toolbar
Getting ready
How to do it...
How it works...
There's more...
See also
Modifying the default status bar
Getting ready
How to do it...
How it works...
See also
Creating a footer
Getting ready
How to do it...
How it works...
See also
Creating a back button
Getting ready
How to do it...
How it works...
There's more...
See also
Creating a button for the toolbar
Getting ready
How to do it...
How it works...
See also
Building a breadcrumb menu
Getting ready
How to do it...
How it works...
See also
Building the duo navigation buttons
Getting ready
How to do it...
How it works...
There's more....
See also
Building the lists for items
Getting ready
How to do it...
How it works...
There's more...
See also
Building menus using lists
Getting ready
How to do it...
Using UiUIKit
Using iWebKit
How it works...
There's more....
See also
Creating the toggle buttons
Getting ready
How to do it...
How it works...
There's more...
See also
Creating a modal box with buttons
Getting ready
How to do it...
How it works...
See also
Building a search dialog
Getting ready
How to do it...
How it works...
There's more...
See also
Building the information fields
Getting ready
How to do it...
How it works...
See also
Building forms with checkboxes, radio buttons, select fields, and text fields
Getting ready
How to do it...
How it works...
There's more...
See also
Creating and customizing a notification box
Getting ready
How to do it...
How it works...
There's more
See also
Building a chat-style interface
Getting ready
How to do it...
How it works...
There's more...
See also
Creating a date picker
Getting ready
How to do it...
How it works...
See also
Using different tabs
Getting ready
How to do it...
How it works...
See also
3. Events and Actions
Introduction
Identifying the devices
Getting ready
How to do it...
How it works...
There's more...
See also
Viewing applications in full screen
How to do it...
How it works...
See also
Detecting full screen or browser mode
How to do it...
How it works...
See also
Scaling to device width
How to do it...
How it works...
See also
Preventing scaling
How to do it...
How it works...
See also
Detecting one-finger events
Getting ready
How to do it...
How it works...
There's more...
See also
Detecting multi-touch events
Getting ready
How to do it...
How it works...
There's more...
See also
Preventing the default behavior for events
How to do it...
How it works...
See also
Detecting rotation events
Getting ready
How to do it...
How it works...
See also
Implementing drag-and-drop
Getting ready
How to do it...
How it works...
There's more...
See also
Adding visual effects
Getting ready
How to do it...
How it works...
There's more...
See also
Running your web application without Internet access
Getting ready
How to do it...
How it works...
There's more...
See also
4. A Picture Speaks a Thousand Words
Introduction
Choosing an icon image for the application
Getting ready
How to do it...
How it works...
There's more...
See also
Specifying a splash image
Getting ready
How to do it...
How it works...
See also
Displaying an image inside a container
Getting ready
How to do it...
How it works...
There's more...
See also
Creating a grid with images
Getting ready
How to do it...
How it works...
There's more...
See also
Creating a carousel for images
Getting ready
How to do it...
How it works...
There's more...
See also
Rotating images
Getting ready
How to do it...
How it works...
There's more...
See also
Scaling an image by applying animations
Getting ready
How to do it...
How it works...
There's more...
See also
Taking and displaying pictures
Getting ready
How to do it...
How it works...
There's more...
See also
Drawing geometric figures
Getting ready
How to do it...
How it works...
There's more...
See also
Applying colors
Getting ready
How to do it...
How it works...
See also
Working with gradients
Getting ready
How to do it...
Applying linear gradients
Using radial gradients
How it works...
See also
Adding an activity indicator
Getting ready
How to do it...
How it works...
There's more...
See also
5. Mastering Sound and Music
Introduction
Making a beep alert
Getting ready
How to do it...
How it works...
There's more...
See also
Making a vibrate alert
Getting ready
How to do it...
How it works...
See also
Creating an iPod playlist and playing a specific item
Getting ready
How to do it...
How it works...
There's more...
See also
Loading an iTunes playlist
Getting ready
How to do it...
How it works...
See also
Playing an audio file
Getting ready
How to do it...
Using HTML5
Using Sencha Touch
Using PhoneGap
How it works...
HTML5 approach
Sencha Touch approach
PhoneGap approach
There's more...
See also
Playing a video
Getting ready
How to do it...
Using HTML5
Using Sencha Touch
How it works...
There's more...
See also
Recording an audio
Getting ready
How to do it...
How it works...
See also
6. Exchanging Data: AJAX
Introduction
How to send HTTP requests
Getting ready
How to do it...
How it works...
There's more...
See also
Processing JSON responses
Getting ready
How to do it...
How it works...
There's more...
See also
Sending cross-domain requests
Getting ready
How to do it...
How it works...
There's more...
See also
7. Working with Data: Storage and SQL
Introduction
Creating a database
Getting ready
How to do it...
How it works...
There's more...
See also
Creating a table
Getting ready
How to do it...
How it works...
See also
Inserting records
Getting ready
How to do it...
How it works...
See also
Searching and selecting records
Getting ready
How to do it...
How it works...
See also
Deleting records
Getting ready
How to do it...
How it works...
See also
Saving and reading preferences
Getting ready
How to do it...
How it works...
See also
Storing data in session
Getting ready
How to do it...
How it works...
There's more...
See also
8. This is a Phone
Introduction
Calling a number
Getting ready
How to do it...
How it works...
See also
Sending an SMS to a number
Getting ready
How to do it...
How it works...
See also
Selecting contacts
Getting ready
How to do it...
How it works...
See also
Creating a new contact
Getting ready
How to do it...
How it works...
See also
Searching and displaying contacts
Getting ready
How to do it...
How it works...
See also
9. Location, Location, Location
Introduction
Detecting current orientation
Getting ready
How to do it...
How it works...
See also
Identifying the current location
Getting ready
How to do it...
How it works...
There's more...
See also
Opening Google Maps at a specific location
Getting ready
How to do it...
How it works...
There's more...
See also
Calculating distances between two points
Getting ready
How to do it...
How it works...
There's more...
See also
10. Web 2.0 Integration
Introduction
Embedding an RSS feed
Getting ready
How to do it...
How it works...
There's more...
See also
Opening a YouTube video
Getting ready
How to do it...
How it works...
See also
Posting on your Facebook wall
Getting ready
How to do it...
How it works...
There's more...
See also
Retrieving recent tweets from Twitter
Getting ready
How to do it...
How it works...
There's more...
See also
Displaying photos from Flickr
Getting ready
How to do it...
How it works...
See also
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜