About the Author |
|
xiii | |
About the Technical Reviewer |
|
xv | |
Acknowledgments |
|
xvii | |
What Is in This Book |
|
xix | |
|
Chapter 1 Introduction to Mobile Application Development Ecosystems |
|
|
1 | (14) |
|
History of Mobile Application Development |
|
|
2 | (1) |
|
|
3 | (1) |
|
|
3 | (1) |
|
|
3 | (1) |
|
|
4 | (1) |
|
|
4 | (1) |
|
Web Sites and Web Views for Mobile Devices |
|
|
4 | (1) |
|
Adding JavaScript to the Mix |
|
|
5 | (1) |
|
Hybrid Application Frameworks |
|
|
5 | (1) |
|
Challenges by Mobile Application Layers |
|
|
5 | (4) |
|
|
5 | (3) |
|
|
8 | (1) |
|
|
9 | (3) |
|
Mobile Application Testing |
|
|
12 | (1) |
|
|
12 | (1) |
|
|
12 | (1) |
|
|
12 | (1) |
|
|
12 | (1) |
|
|
13 | (2) |
|
Chapter 2 Native vs. Hybrid Mobile Applications |
|
|
15 | (6) |
|
Native Mobile Application Development |
|
|
15 | (3) |
|
|
16 | (1) |
|
|
17 | (1) |
|
What Does the Market Say? |
|
|
17 | (1) |
|
Hybrid Mobile Application Development |
|
|
18 | (2) |
|
|
18 | (1) |
|
|
18 | (1) |
|
Technologies and Frameworks Used in HMAD |
|
|
19 | (1) |
|
|
19 | (1) |
|
|
20 | (1) |
|
Chapter 3 Building Blocks of HMAD |
|
|
21 | (34) |
|
|
21 | (13) |
|
|
21 | (8) |
|
Browser-Based Applications and Browser Runtime |
|
|
29 | (5) |
|
How Hybrid Applications Work |
|
|
34 | (2) |
|
|
34 | (1) |
|
Web Applications vs. Hybrid Mobile Applications |
|
|
35 | (1) |
|
Technologies, Frameworks, and Languages |
|
|
36 | (10) |
|
|
37 | (1) |
|
|
37 | (1) |
|
Basics of HTML5 and Useful APIs |
|
|
37 | (1) |
|
|
38 | (1) |
|
|
39 | (2) |
|
|
41 | (5) |
|
|
46 | (1) |
|
Service-Oriented Architecture |
|
|
46 | (3) |
|
|
46 | (1) |
|
Windows Communication Foundation Service |
|
|
47 | (1) |
|
|
48 | (1) |
|
Cascading Style Sheets (CSS) Version 3 |
|
|
48 | (1) |
|
|
48 | (1) |
|
|
48 | (1) |
|
|
48 | (1) |
|
HMAD Development and Packaging Frameworks |
|
|
49 | (2) |
|
|
49 | (1) |
|
|
49 | (1) |
|
|
50 | (1) |
|
|
50 | (1) |
|
|
50 | (1) |
|
|
51 | (1) |
|
|
51 | (1) |
|
Testing Mobile Applications |
|
|
51 | (2) |
|
|
51 | (2) |
|
|
53 | (1) |
|
Testing with Packaging Frameworks |
|
|
53 | (1) |
|
|
53 | (1) |
|
|
53 | (1) |
|
|
53 | (2) |
|
Chapter 4 Creating Your First Hybrid Application |
|
|
55 | (36) |
|
Choosing a Packaging Platform |
|
|
55 | (1) |
|
Setting Up an AppBuilder Account |
|
|
55 | (6) |
|
Authoring a Basic Service Returning JSON |
|
|
61 | (9) |
|
Writing a Code Snippet Based on HTML5 |
|
|
70 | (6) |
|
Injecting jQuery into the Code |
|
|
76 | (1) |
|
Testing the Hybrid Application UI and Code by Using a Browser |
|
|
77 | (1) |
|
Packaging an Application for the First Time Using AppBuilder |
|
|
78 | (11) |
|
Running a Local Test on the Device |
|
|
89 | (1) |
|
|
89 | (1) |
|
|
89 | (1) |
|
|
89 | (1) |
|
|
89 | (2) |
|
Chapter 5 HMAD: Internals |
|
|
91 | (10) |
|
|
91 | (4) |
|
|
91 | (1) |
|
|
92 | (1) |
|
Application Frameworks and Platforms |
|
|
93 | (2) |
|
How Do Hybrid Applications Work on Devices? |
|
|
95 | (4) |
|
Webview Hybrid Limitations |
|
|
99 | (1) |
|
Comparison: Native vs. Hybrid Applications |
|
|
99 | (1) |
|
|
100 | (1) |
|
Chapter 6 Data Access in HMAD |
|
|
101 | (28) |
|
Exploring Data Access Possibilities |
|
|
101 | (5) |
|
Data Serialization Techniques |
|
|
106 | (1) |
|
|
107 | (10) |
|
Browser-based Debug, Monitor, and Trace |
|
|
117 | (3) |
|
|
120 | (8) |
|
|
128 | (1) |
|
|
129 | (12) |
|
|
129 | (8) |
|
|
134 | (2) |
|
JQuery Plug-in-based Approach to Generating a UI |
|
|
136 | (1) |
|
Miscellaneous Libraries and Plugins |
|
|
137 | (1) |
|
|
137 | (1) |
|
|
138 | (1) |
|
|
138 | (1) |
|
Frequently Used Style Classes in Bootstrap |
|
|
138 | (1) |
|
|
139 | (2) |
|
Chapter 8 Using Device Features in HMAD |
|
|
141 | (18) |
|
|
141 | (5) |
|
|
141 | (3) |
|
Geolocation Plug-ins and Helpers |
|
|
144 | (2) |
|
|
146 | (6) |
|
Access and Use a Device-Based Camera |
|
|
152 | (3) |
|
|
155 | (1) |
|
Building Offline Applications |
|
|
156 | (1) |
|
Common Issues and Solutions |
|
|
156 | (1) |
|
|
156 | (1) |
|
|
156 | (1) |
|
|
157 | (2) |
|
Chapter 9 How to Advertise with HMAD |
|
|
159 | (26) |
|
|
159 | (1) |
|
|
160 | (1) |
|
Google AdSense (Google AdMob for Mobiles) |
|
|
160 | (1) |
|
Mobile Ad Frameworks: A Quick Comparison |
|
|
160 | (1) |
|
Using the AdMob Framework |
|
|
161 | (23) |
|
|
166 | (2) |
|
|
168 | (16) |
|
|
184 | (1) |
|
Chapter 10 Working with Third-Party Services in HMAD |
|
|
185 | (8) |
|
|
185 | (2) |
|
|
187 | (3) |
|
|
188 | (2) |
|
|
190 | (1) |
|
|
191 | (1) |
|
|
191 | (2) |
|
Chapter 11 Setup and Deployment |
|
|
193 | (6) |
|
Obtaining Vendor-Specific Developer Licenses |
|
|
193 | (1) |
|
Deploying to the Apple App Store |
|
|
193 | (2) |
|
|
195 | (2) |
|
Deploying to Windows Store |
|
|
197 | (1) |
|
Understanding the Pros and Cons |
|
|
197 | (1) |
|
|
197 | (1) |
|
|
197 | (2) |
|
Chapter 12 XAMARIN vs. HMAD |
|
|
199 | (6) |
|
Introduction to Managed Applications |
|
|
199 | (2) |
|
|
201 | (2) |
|
Using Xamarin for Windows Phone |
|
|
201 | (1) |
|
Using Xamarin for Android |
|
|
202 | (1) |
|
|
202 | (1) |
|
Exploring Xamarin Features |
|
|
203 | (1) |
|
|
203 | (1) |
|
|
204 | (1) |
|
Chapter 13 Case Study: A Practical Approach |
|
|
205 | (12) |
|
Creating a Feedback Application |
|
|
205 | (6) |
|
Writing the Business Logic |
|
|
211 | (4) |
|
|
215 | (2) |
Index |
|
217 | |