Tài liệu Lập trình iphone chuyên nghiệp part 15 docx

Tài liệu Lập trình iphone chuyên nghiệp part 15 docx

Tài liệu Lập trình iphone chuyên nghiệp part 15 docx

... (navigator.userAgent.indexOf( iPhone ) != -1)”>jack@ibmcorp.com</a> </div> c07.indd 174c07.indd 174 12/7/07 2:53:48 PM12/7/07 2:53:48 PM Chapter 7: Integrating with iPhone Services 175 ... PM Chapter 7: Integrating with iPhone Services 167 Pointing on Google Maps While Google Maps does not have its own custom href protocol, Mobile Safari on iPhone is smart enough...

Ngày tải lên: 15/12/2013, 11:15

12 279 0
Tài liệu Lập trình iphone chuyên nghiệp part 6 docx

Tài liệu Lập trình iphone chuyên nghiệp part 6 docx

... develop iPhone and iPod touch applications, you can utilize CSS to make powerful user interfaces. Mobile Safari provides support for several of the more advanced -webkit- styles that are not part ... The best example of the need to handle text overflow is in the top toolbar that is a standard part of iPhone application interface. By default, any content that does not fit inside...

Ngày tải lên: 15/12/2013, 11:15

8 322 0
Tài liệu Lập trình iphone chuyên nghiệp part 21 docx

Tài liệu Lập trình iphone chuyên nghiệp part 21 docx

... certain parts of the iUI framework are not functional inside of a data URL, thus greatly limiting the potential for Web developers to take advantage of offline storage. Creating an Offline iPhone/ iPod ... it is in the URL bar of Safari. Then, drag the URL onto your Bookmarks bar. Synch up with your iPhone and your application is now ready to run in offline mode. Figure 10-7 show...

Ngày tải lên: 24/12/2013, 17:15

11 224 0
Tài liệu Lập trình iphone chuyên nghiệp part 5 doc

Tài liệu Lập trình iphone chuyên nghiệp part 5 doc

... also contains the code to hide the URL bar. The iPhone update 1.1.1 added an orientationchange event. However, for maximum compatibility with iPhone 1.0, I recommend continuing to use the checkOrientAndLocation() ... (containing class=”dialog” as an attribute) or a normal page. While the opening page of an iPhone/ iPod touch is often a normal page, you may wish to have a login...

Ngày tải lên: 15/12/2013, 11:15

15 338 1
Tài liệu Lập trình iphone chuyên nghiệp part 7 pdf

Tài liệu Lập trình iphone chuyên nghiệp part 7 pdf

... first keyword, the top, middle, and bottom parts of the image are scaled to the same width as the element's padding box. Far less common for iPhone use, round can also be used as the ... 1.0) ;"><span>100%</span></div> </div> </body> </html> Figure 4-10 shows the page in Mobile Safari. Creating CSS -Based iPhone Buttons Using -web...

Ngày tải lên: 15/12/2013, 11:15

11 308 0
Tài liệu Lập trình iphone chuyên nghiệp part 8 doc

Tài liệu Lập trình iphone chuyên nghiệp part 8 doc

... as they occur. With its touch screen interface, iPhone is all about direct interactivity with the user. As a result, you would expect any iPhone/ iPod touch application you create to be able ... interactions differently than what you might expect. How iPhone Handles Events When working with touch interactions and events for iPhone, keep in mind that the finger is not a mouse. As...

Ngày tải lên: 15/12/2013, 11:15

13 332 0
Tài liệu Lập trình iphone chuyên nghiệp part 9 doc

Tài liệu Lập trình iphone chuyên nghiệp part 9 doc

... scrollBall(delta); return true; } Figure 5-5: UI for the ScrollPad application c05.indd 115c05.indd 115 12/7/07 2:47:06 PM12/7/07 2:47:06 PM Chapter 5: Handling Touch Interactions and Events ... 114c05.indd 114 12/7/07 2:47:06 PM12/7/07 2:47:06 PM Chapter 5: Handling Touch Interactions and Events 115 addEventListener(‘load’, function() { window.onmousewheel = twoFingerScroll; setTimeou...

Ngày tải lên: 15/12/2013, 11:15

8 348 0
Tài liệu Lập trình iphone chuyên nghiệp part 10 doc

Tài liệu Lập trình iphone chuyên nghiệp part 10 doc

... with an iPhone and iPod touch rather than a desktop browser. So, I’ll start by showing you how to identify the user agent for iPhone and iPod touch. Identifying the User Agent for iPhone and ... the device is an iPhone/ iPod touch or not, you need to perform a string search on iPhone and iPod . The following function returns true if the user agent is either an iPhone or i...

Ngày tải lên: 15/12/2013, 11:15

10 285 0
Tài liệu Lập trình iphone chuyên nghiệp part 11 pdf

Tài liệu Lập trình iphone chuyên nghiệp part 11 pdf

... you want to extract a 79 × 131px rectangle from the original picture starting at the coordinate (151 , 63). You then paint the same sized rectangle at coordinate (10, 10) on the canvas. Here is ... and Video 133 img.src = ‘images/beach.jpg’; img.onload = function() { context.drawImage( img, 151 , 63, 79, 131, 10, 10, 79, 131 ); } } Figure 6-5 shows the result. Figure 6-5: Painting a

Ngày tải lên: 15/12/2013, 11:15

9 304 0
Tài liệu Lập trình iphone chuyên nghiệp part 12 doc

Tài liệu Lập trình iphone chuyên nghiệp part 12 doc

... Figure 6-17: MakeRefMovie c06.indd 151 c06.indd 151 12/7/07 2:48:28 PM12/7/07 2:48:28 PM Chapter 6: Advanced Programming Topics: Canvas and Video 152 Because iPhone and iPod touch do not support ... directive in a .htaccess file. c06.indd 150 c06.indd 150 12/7/07 2:48:28 PM12/7/07 2:48:28 PM Chapter 6: Advanced Programming Topics: Canvas and Video 151 Embedding Video or Audio F...

Ngày tải lên: 15/12/2013, 11:15

13 326 0
w