Professionali Phone and iPod touch Programming phần 1 potx

32 299 0
Professionali Phone and iPod touch Programming phần 1 potx

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... Programming the iPhone Canvas Defining the Canvas Element Getting a Context Drawing a Simple Rectangle 83 85 85 87 89 90 90 91 91 93 94 95 99 10 1 10 1 10 3 10 6 11 1 11 3 11 7 12 0 12 1 12 1 12 3 12 4 12 4 12 5 xii ftoc.indd xii 12 /7/07 3:04:05 PM Contents Drawing Other Shapes Drawing an Image Adding Color and Transparency Adding Gradients Creating an Image Pattern Adding Shadows Transforming a Canvas State Saving and Restoring... Action Working with Video 12 7 13 1 13 6 13 6 14 0 14 0 14 2 14 4 14 4 14 6 14 6 Preparing iPhone /iPod touch Friendly Video Embedding Video or Audio Files 14 6 15 1 Chapter 7: Integrating with iPhone Services 15 3 Preparing the iProspector Application Shell 15 4 Creating the Contact Header Creating the cui.css Style Sheet Making Phone Calls from Your Application 15 7 15 8 15 9 Creating Service Links 16 1 Sending Emails Pointing... Google Maps 16 4 16 7 Creating a Contacts Address Box Creating Service Buttons Chapter 8: Enabling and Optimizing Web Sites for iPhone and iPod touch 17 0 17 1 17 9 Tier 1: iPhone /iPod touch Compatibility Tier 2: Navigation-Friendly Web Sites 18 0 18 3 Working with the Viewport Turning Your Page into Blocks Defining Multiple Columns (Future Use) 18 3 18 7 19 0 Tier 3: Custom iPhone /iPod touch Styles 19 0 Media... iPhone and iPod touch A Web application that you can run in any browser and an iPhone /iPod touch application are certainly made using the same common ingredients — HTML, CSS, JavaScript, and AJAX — but they are not identical In fact, there are four approaches to developing for iPhone and iPod touch: 5 c 01. indd 5 12 /7/07 2:29:08 PM Chapter 1: The iPhone and iPod touch Development Platform ❑ Level 1: ... Dedicated iPhone /iPod touch Web site/application: A third level of support is to provide a Web site tailored to the viewport dimensions of the iPhone and iPod touch and provide a strong 6 c 01. indd 6 12 /7/07 2:29:08 PM Chapter 1: The iPhone and iPod touch Development Platform Web browsing experience for Apple device users (see Figures 1- 8 and 1- 9) However, while these sites are tailored for iPhone /iPod touch. ..ffirs.indd x 12 /7/07 3: 01: 29 PM Contents Acknowledgments Introduction Chapter 1: Introducing the iPhone and iPod touch Development Platform Discovering the Mobile Safari Platform Four Ways to Develop for iPhone and iPod touch The Finger Is Not a Mouse Limitations and Constraints Accessing Files on a Local Wi-Fi Network xvii xix 1 1 5 8 9 11 Chapter 2: Designing a User Interface 13 The iPhone Viewport... Pages Table-Based Destination Pages Game Day Navigation List Page 209 209 210 210 210 211 211 212 212 214 214 216 217 217 217 217 218 219 2 21 2 21 223 224 226 227 227 237 237 238 240 242 244 245 249 2 51 254 xiv ftoc.indd xiv 12 /7/07 3:04:05 PM Contents Chapter 12 : Testing and Debugging iPhone and iPod touch Debug Console Working with Desktop Safari Debugging Tools Enabling the Debug Menu Working with the... Offline iPhone /iPod touch Application Chapter 11 : Case Studies: Beyond Edge-to-Edge Design Case Study: iRealtor 2.0 Customizing the Application Toolbar Creating and Styling the Photos Page Programming the Photos Page Attaching the Photos Page to iRealtor Case Study: Mobile WYFFL Text-Based Destination Pages Table-Based Destination Pages Game Day Navigation List Page 209 209 210 210 210 211 211 212 212 214 ... their applications with iPhone services, including Phone, Mail, and Google Maps The chapter-level breakdown is as follows: ❑ ❑ flast.indd xix Chapter 1, “Introducing the iPhone and iPod touch Development Platform”: Explores the Mobile Safari development platform and walks you through the four ways you can develop for iPhone and iPod touch Chapter 2, “Designing an iPhone and iPod touch User Interface”:... Media Queries Text Size Adjustment Case Study 19 1 19 1 19 2 Tier 4: Parallel Sites 19 7 Avoid Handcuffs, Offer Freedom Transform a Site to an iPhone /iPod touch Design 19 7 200 xiii ftoc.indd xiii 12 /7/07 3:04:05 PM Contents Chapter 9: Bandwidth and Performance Optimizations Your Optimization Strategy Best Practices to Minimize Bandwidth General Images CSS and JavaScript Compressing Your Application Gzip . xviiflast.indd xvii 12 /7/07 3: 01: 51 PM12/7/07 3: 01: 51 PM flast.indd xviiiflast.indd xviii 12 /7/07 3: 01: 51 PM12/7/07 3: 01: 51 PM Introduction The amazing success of iPhone and iPod touch is a clear. 279 Professional iPhone ™ and iPod ® touch Programming ffirs.indd iffirs.indd i 12 /7/07 3: 01: 28 PM12/7/07 3: 01: 28 PM ffirs.indd iiffirs.indd ii 12 /7/07 3: 01: 28 PM12/7/07 3: 01: 28 PM Professional iPhone ™ . ix 12 /7/07 3: 01: 29 PM12/7/07 3: 01: 29 PM ffirs.indd xffirs.indd x 12 /7/07 3: 01: 29 PM12/7/07 3: 01: 29 PM Contents Acknowledgments xvii Introduction xix Chapter 1: Introducing the iPhone and iPod touch

Ngày đăng: 12/08/2014, 23:22

Tài liệu cùng người dùng

Tài liệu liên quan