... ứng dụng từ kho
ứng dụng iTunes. Trên iTunes có nhiều ứng dụng mới và khá “hot”, nhưng không phải ai
cũng biết cách tải về và cài đặt dễ dàng cho thiết bị.
Có hai cách để tải ứng dụng về iPhone ... truy cập kho ứng dụng và tải phần mềm
về. Dưới đây là các bước của cả hai cách trên để giúp người dùng tải về và cài đặt dễ dàng ứng
dụng c...
... iPhone brows-
ing a new and different experience. When you’re working on an iPhone-
UI web
app—intended to model the look and feel of the iPhone and to be used primarily or
exclusively by iPhone ... jQuery iPhone package provides user-accessible JavaScript functions and variables to
make your iPhone web app programming simple.
Function Type Summary
disableTextSizeAdjust
Func...
... from the Developer directory. To write iPhone programs,
you must have downloaded the iPhone SDK, as discussed in the previous chapter.
Once you’ve done that, choosing File > New Project will ... Xcode
To compile in Xcode, choose Build > Build and Run from the menus. Your program will
compile and link. Then it will be installed on the iPhone Simulator, and the iPhone Sim-
ulat...
... the iPhone
1.4 Understanding iPhone input and output
Although an iPhone has a native screen resolution of 480x320 pixels, web viewers
won’t see web pages laid out at that resolution. An iPhone ... the iPhone output, but its input may be even
more innovative.
1.4.3 Input and iPhone mousing
As already noted, the iPhone uses a multi-touch-capable capacitive touch screen.
Users a...
... the iPhone.
Method Type References
iPhone incompatible Web Brief mentions only
iPhone compatible Web Brief mentions only
iPhone friendly Web Chapters 3, 8
iPhone optimized Web Chapters 3, 8
iPhone ... reasonable alternatives when creating
applications for the iPhone.
Figure 2.1 depicts what iPhone developers call a “utility,” a two-page iPhone appli-
cation that contains t...
... are actually using an iPhone.
3.3.1 Detecting the iPhone through USER_AGENT
The idea behind iPhone optimization is to redevelop web pages so that they work
great on the iPhone. To begin this ... different or
unavailable on the iPhone. Now that we’re working on iPhone- specific code, we can
examine the flipside: events that are totally new to the iPhone.
3.5 Capturing iPhone ev...
... you can recognize iPhone touchscreen events.
Event Summary
touchstart
A finger touches the iPhone.
touchmove
A finger moves across the iPhone.
touchend
A finger leaves the iPhone.
touchcancel
The ... number of advantages, all of which you can make
use of on the iPhone. However, there’s one iPhone- specific trick you should consider:
iPhones uniquely might be connected to either a...
... overlap.
lighter
Blending choice Where the shapes overlap, the color value is added.
darker
Blending choice Where the shapes overlap, the color value is subtracted.
xor
Blending choice Where the shapes ... quickly
port your iPhone graphics to those other browsers.
For now, however, Canvas is the last major tool in your iPhone web app toolkit. With
graphics, text, and a handful of iPho...
... fixed-size viewport (typically 320 pixels wide) and thus causes an iPhone
to zoom in when you move from portrait to landscape mode. The other choice,
“Adjust page width to fit,” instead sets the viewport ... that you can
use to create iPhone web apps, and in this chapter we introduced the Dashcode devel-
opment environment. Since these are somewhat orthogonal directions of iPhone
de...
... can make debugging on the iPhone easier.
Program Location
iPhone Debug http://code.google.com/p/iphonedebug/
iPhone Web Developer http://www.manifestinteractive.com /iphone/ #_Webdev
Listing 8.1 ... the iPhone, because it stopped working when iPhone OS 2.0 was
released, with no indication that it’s going to be repaired in the future.
150 CHAPTER 8 Debugging iPhone web pages
8.3.1...