Table of Contents for
Beginning Android Programming with Android Studio, Fourth Edition
Close
Version ebook
/
Retour
Beginning Android Programming with Android Studio, Fourth Edition
by Jerome F. DiMarzio
Published by Wrox, 2016
Cover
Contents
Title Page
Introduction
Chapter 1: Getting Started with Android Programming
Chapter 2: Using Android Studio for Android Development
Chapter 3: Activities, Fragments, and Intents
Chapter 4: Getting to Know the Android User Interface
Chapter 5: Designing Your User Interface with Views
Chapter 6: Displaying Pictures and Menus with Views
Chapter 7: Data Persistence
Chapter 8: Content Providers
Chapter 9: Messaging
Chapter 10: Location-Based Services
Chapter 11: Networking
Chapter 12: Developing Android Services
Appendix: Answers to Exercises
Copyright
Dedication
Credits
About the Author
About the Technical Editor
Acknowledgments
End User License Agreement
Prev
Previous Chapter
Cover
Next
Next Chapter
Title Page
Table of Contents
Cover
Title Page
Copyright
Dedication
Credits
About the Author
About the Technical Editor
Acknowledgments
Introduction
Who This Book Is For
What This Book Covers
How This Book Is Structured
What You Need to Use This Book
Conventions
Source Code
Errata
P2P.wrox.com
Chapter 1: Getting Started with Android Programming
What Is Android?
Obtaining the Required Tools
Launching Your First Android Application
Summary
Chapter 2: Using Android Studio for Android Development
Exploring the IDE
Using Code Completion
Debugging Your Application
Publishing Your Application
Summary
Chapter 3: Activities, Fragments, and Intents
Understanding Activities
Linking Activities Using Intents
Fragments
Displaying Notifications
Summary
Chapter 4: Getting to Know the Android User Interface
Understanding the Components of a Screen
Adapting to Display Orientation
Managing Changes to Screen Orientation
Utilizing the Action Bar
Creating the User Interface Programmatically
Listening for UI Notifications
Summary
Chapter 5: Designing Your User Interface with Views
Using Basic Views
Using Picker Views
Using List Views to Display Long Lists
Understanding Specialized Fragments
Summary
Chapter 6: Displaying Pictures and Menus with Views
Using Image Views to Display Pictures
Using Menus with Views
Using WebView
Summary
Chapter 7: Data Persistence
Saving and Loading User Preferences
Persisting Data to Files
Creating and Using Databases
Summary
Chapter 8: Content Providers
Sharing Data in Android
Using a Content Provider
Creating Your Own Content Providers
Using the Content Provider
Summary
Chapter 9: Messaging
SMS Messaging
Sending Email
Summary
Chapter 10: Location-Based Services
Displaying Maps
Getting Location Data
Monitoring a Location
Summary
Chapter 11: Networking
Consuming Web Services Using HTTP
Consuming Json Services
Summary
Chapter 12: Developing Android Services
Creating Your Own Services
Establishing Communication Between a Service and an Activity
Binding Activities to Services
Understanding Threading
Summary
Appendix: Answers to Exercises
Chapter 1 Answers
Chapter 2 Answers
Chapter 3 Answers
Chapter 4 Answers
Chapter 5 Answers
Chapter 6 Answers
Chapter 7 Answers
Chapter 8 Answers
Chapter 9 Answers
Chapter 10 Answers
Chapter 11 Answers
Chapter 12 Answers
End User License Agreement
Pages
iii
iv
v
vi
vii
viii
ix
xvii
xviii
xix
xx
xxi
xxii
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
415
416
417
418
419
Guide
Table of Contents
Begin Reading
List of Illustrations
Chapter 1: Getting Started with Android Programming
Figure 1.1
Figure 1.2
Figure 1.3
Figure 1.4
Figure 1.5
Figure 1.6
Figure 1.7
Figure 1.8
Figure 1.9
Figure 1.10
Figure 1.11
Figure 1.12
Figure 1.13
Figure 1.14
Figure 1.15
Figure 1.16
Figure 1.17
Figure 1.18
Figure 1.19
Figure 1.20
Figure 1.21
Figure 1.22
Figure 1.23
Figure 1.24
Figure 1.25
Figure 1.26
Figure 1.27
Figure 1.28
Chapter 2: Using Android Studio for Android Development
Figure 2.1
Figure 2.2
Figure 2.3
Figure 2.4
Figure 2.5
Figure 2.6
Figure 2.7
Figure 2.8
Figure 2.9
Figure 2.10
Figure 2.11
Figure 2.12
Figure 2.13
Figure 2.14
Figure 2.15
Figure 2.16
Figure 2.17
Figure 2.18
Chapter 3: Activities, Fragments, and Intents
Figure 3.1
Figure 3.2
Figure 3.3
Figure 3.4
Figure 3.5
Figure 3.6
Figure 3.7
Figure 3.8
Figure 3.9
Figure 3.10
Figure 3.11
Figure 3.12
Figure 3.13
Figure 3.14
Figure 3.15
Figure 3.16
Figure 3.17
Figure 3.18
Figure 3.19
Chapter 4: Getting to Know the Android User Interface
Figure 4.1
Figure 4.2
Figure 4.3
Figure 4.4
Figure 4.5
Figure 4.6
Figure 4.7
Figure 4.8
Figure 4.9
Figure 4.10
Figure 4.11
Figure 4.12
Figure 4.13
Figure 4.14
Figure 4.15
Figure 4.16
Figure 4.17
Figure 4.18
Figure 4.19
Figure 4.20
Figure 4.21
Figure 4.22
Figure 4.23
Figure 4.24
Figure 4.25
Figure 4.26
Figure 4.27
Figure 4.28
Chapter 5: Designing Your User Interface with Views
Figure 5.1
Figure 5.2
Figure 5.3
Figure 5.4
Figure 5.5
Figure 5.6
Figure 5.7
Figure 5.8
Figure 5.9
Figure 5.10
Figure 5.11
Figure 5.12
Figure 5.13
Figure 5.14
Figure 5.15
Figure 5.16
Figure 5.17
Figure 5.18
Figure 5.19
Figure 5.20
Figure 5.21
Figure 5.22
Figure 5.23
Chapter 6: Displaying Pictures and Menus with Views
Figure 6.1
Figure 6.2
Figure 6.3
Figure 6.4
Figure 6.5
Figure 6.6
Figure 6.7
Figure 6.8
Figure 6.9
Chapter 7: Data Persistence
Figure 7.1
Figure 7.2
Figure 7.3
Figure 7.4
Figure 7.5
Figure 7.6
Figure 7.7
Figure 7.8
Figure 7.9
Figure 7.10
Figure 7.11
Chapter 8: Content Providers
Figure 8.1
Figure 8.2
Figure 8.3
Figure 8.4
Chapter 9: Messaging
Figure 9.1
Figure 9.2
Figure 9.3
Figure 9.4
Figure 9.5
Chapter 10: Location-Based Services
Figure 10.1
Figure 10.2
Figure 10.3
Figure 10.4
Figure 10.5
Figure 10.6
Figure 10.7
Chapter 11: Networking
Figure 11.1
Figure 11.2
Figure 11.3
Figure 11.4
Chapter 12: Developing Android Services
Figure 12.1
Figure 12.2
Figure 12.3
List of Tables
Chapter 1: Getting Started with Android Programming
Table 1.1 A Brief History of Android Versions
Chapter 4: Getting to Know the Android User Interface
Table 4.1 Common Attributes Used in Views and ViewGroups
Chapter 8: Content Providers
Table 8.1 Example Query Strings
Prev
Previous Chapter
Cover
Next
Next Chapter
Title Page