- Page 2 and 3: ANDROID 6 FOR PROGRAMMERS AN APP-D
- Page 4 and 5: ANDROID 6 FOR PROGRAMMERS AN APP-D
- Page 6 and 7: To the Android software-engineering
- Page 8 and 9: Contents Preface Before You Begin x
- Page 10 and 11: Contents ix 2.8 Internationalizing
- Page 12 and 13: Contents xi 4.4 Creating the Projec
- Page 14 and 15: Contents xiii 5.8.4 Overridden View
- Page 16 and 17: Contents xv 7.2 Test-Driving the We
- Page 18 and 19: Contents xvii 9 Address Book App 32
- Page 20 and 21: Contents xix 10.2.7 Getting a Priva
- Page 22 and 23: Preface Welcome to the dynamic worl
- Page 24 and 25: Features xxiii development tools we
- Page 26 and 27: Pedagogic Features xxv Cloud Test L
- Page 28 and 29: Join the Deitel & Associates, Inc.
- Page 30 and 31: About Deitel & Associates, Inc. xxi
- Page 32 and 33: Before You Begin In this section, y
- Page 34 and 35: Configure Android Studio to Disallo
- Page 38 and 39: 1 Introduction to Android Objective
- Page 40 and 41: 1.2 Android—The World’s Leading
- Page 42 and 43: 1.3 Android Features 5 Multitouch S
- Page 44 and 45: 1.4 Android Operating System 7 Andr
- Page 46 and 47: 1.4 Android Operating System 9 impa
- Page 48 and 49: 1.4 Android Operating System 11 Fea
- Page 50 and 51: 1.5 Downloading Apps from Google Pl
- Page 52 and 53: 1.6 Packages 15 Several of the pack
- Page 54 and 55: 1.7 Android Software Development Ki
- Page 56 and 57: 1.8 Object-Oriented Programming: A
- Page 58 and 59: 1.9 Test-Driving the Tip Calculator
- Page 60 and 61: 1.9 Test-Driving the Tip Calculator
- Page 62 and 63: 1.9 Test-Driving the Tip Calculator
- Page 64 and 65: 1.9 Test-Driving the Tip Calculator
- Page 66 and 67: 1.9 Test-Driving the Tip Calculator
- Page 68 and 69: 1.10 Building Great Android Apps 31
- Page 70 and 71: 1.11 Android Development Resources
- Page 72 and 73: 2 Welcome App Dive-Into® Android S
- Page 74 and 75: 2.2 Technologies Overview 37 Androi
- Page 76 and 77: 2.3 Creating an App 39 2.3.1 Launch
- Page 78 and 79: 2.3 Creating an App 41 book’s app
- Page 80 and 81: 2.3 Creating an App 43 Figure 2.6 b
- Page 82 and 83: 2.4 Android Studio Window 45 Projec
- Page 84 and 85: 2.4 Android Studio Window 47 Resour
- Page 86 and 87:
2.5 Building the App’s GUI with t
- Page 88 and 89:
2.5 Building the App’s GUI with t
- Page 90 and 91:
2.5 Building the App’s GUI with t
- Page 92 and 93:
2.5 Building the App’s GUI with t
- Page 94 and 95:
2.5 Building the App’s GUI with t
- Page 96 and 97:
2.5 Building the App’s GUI with t
- Page 98 and 99:
2.5 Building the App’s GUI with t
- Page 100 and 101:
2.5 Building the App’s GUI with t
- Page 102 and 103:
2.6 Running the Welcome App 65 You
- Page 104 and 105:
2.8 Internationalizing Your App 67
- Page 106 and 107:
2.8 Internationalizing Your App 69
- Page 108 and 109:
2.8 Internationalizing Your App 71
- Page 110 and 111:
3 Tip Calculator App Introducing Gr
- Page 112 and 113:
3.2 Test-Driving the Tip Calculator
- Page 114 and 115:
3.3 Technologies Overview 77 On a p
- Page 116 and 117:
3.3 Technologies Overview 79 access
- Page 118 and 119:
3.4 Building the GUI 81 For the amo
- Page 120 and 121:
3.4 Building the GUI 83 For the rem
- Page 122 and 123:
3.4 Building the GUI 85 Step 3: Add
- Page 124 and 125:
3.4 Building the GUI 87 Step 7: Con
- Page 126 and 127:
3.5 Default Theme and Customizing T
- Page 128 and 129:
3.5 Default Theme and Customizing T
- Page 130 and 131:
3.6 Adding the App’s Logic 93 tor
- Page 132 and 133:
3.6 Adding the App’s Logic 95 use
- Page 134 and 135:
3.6 Adding the App’s Logic 97 Dis
- Page 136 and 137:
3.6 Adding the App’s Logic 99 res
- Page 138 and 139:
3.7 AndroidManifest.xml 101 5 11
- Page 140 and 141:
3.8 Wrap-Up 103 • Android looks a
- Page 142 and 143:
4 Flag Quiz App Fragments, Menus, P
- Page 144 and 145:
4.1 Introduction 107 nonduplicated
- Page 146 and 147:
4.2 Test-Driving the Flag Quiz App
- Page 148 and 149:
4.2 Test-Driving the Flag Quiz App
- Page 150 and 151:
4.3 Technologies Overview 113 4.3 T
- Page 152 and 153:
4.3 Technologies Overview 115 a cor
- Page 154 and 155:
4.3 Technologies Overview 117 Quali
- Page 156 and 157:
4.3 Technologies Overview 119 We us
- Page 158 and 159:
4.4 Creating the Project, Resource
- Page 160 and 161:
4.4 Creating the Project, Resource
- Page 162 and 163:
4.4 Creating the Project, Resource
- Page 164 and 165:
4.4 Creating the Project, Resource
- Page 166 and 167:
4.4 Creating the Project, Resource
- Page 168 and 169:
4.4 Creating the Project, Resource
- Page 170 and 171:
4.5 Building the App’s GUI 133 qu
- Page 172 and 173:
4.5 Building the App’s GUI 135 Fi
- Page 174 and 175:
4.5 Building the App’s GUI 137 Fi
- Page 176 and 177:
4.5 Building the App’s GUI 139 la
- Page 178 and 179:
4.6 MainActivity Class 141 15 impor
- Page 180 and 181:
4.6 MainActivity Class 143 Configur
- Page 182 and 183:
4.6 MainActivity Class 145 4.6.6 Ov
- Page 184 and 185:
4.7 MainActivityFragment Class 147
- Page 186 and 187:
4.7 MainActivityFragment Class 149
- Page 188 and 189:
4.7 MainActivityFragment Class 151
- Page 190 and 191:
4.7 MainActivityFragment Class 153
- Page 192 and 193:
4.7 MainActivityFragment Class 155
- Page 194 and 195:
4.7 MainActivityFragment Class 157
- Page 196 and 197:
4.7 MainActivityFragment Class 159
- Page 198 and 199:
4.8 SettingsActivity Class 161 364
- Page 200 and 201:
4.10 AndroidManifest.xml 163 14 15
- Page 202 and 203:
5 Doodlz App 2D Graphics, Canvas, B
- Page 204 and 205:
5.1 Introduction 167 5.1 Introducti
- Page 206 and 207:
5.2 Test-Driving the Doodlz App in
- Page 208 and 209:
5.2 Test-Driving the Doodlz App in
- Page 210 and 211:
5.3 Technologies Overview 173 the a
- Page 212 and 213:
5.3 Technologies Overview 175 you
- Page 214 and 215:
5.4 Creating the Project and Resour
- Page 216 and 217:
5.4 Creating the Project and Resour
- Page 218 and 219:
5.5 Building the App’s GUI 181 25
- Page 220 and 221:
5.5 Building the App’s GUI 183 7.
- Page 222 and 223:
5.5 Building the App’s GUI 185 GU
- Page 224 and 225:
5.6 MainActivity Class 187 5.5.5 Ad
- Page 226 and 227:
5.7 MainActivityFragment Class 189
- Page 228 and 229:
5.7 MainActivityFragment Class 191
- Page 230 and 231:
5.7 MainActivityFragment Class 193
- Page 232 and 233:
5.7 MainActivityFragment Class 195
- Page 234 and 235:
5.7 MainActivityFragment Class 197
- Page 236 and 237:
5.8 DoodleView Class 199 rent point
- Page 238 and 239:
5.8 DoodleView Class 201 Paint’s
- Page 240 and 241:
5.8 DoodleView Class 203 how to han
- Page 242 and 243:
5.8 DoodleView Class 205 166 // cal
- Page 244 and 245:
5.9 ColorDialogFragment Class 207 2
- Page 246 and 247:
5.9 ColorDialogFragment Class 209 5
- Page 248 and 249:
5.10 LineWidthDialogFragment Class
- Page 250 and 251:
5.10 LineWidthDialogFragment Class
- Page 252 and 253:
5.11 EraseImageDialogFragment Class
- Page 254 and 255:
i 6 Cannon Game App Manual Frame-By
- Page 256 and 257:
6.1 Introduction 219 and fire the c
- Page 258 and 259:
6.3 Technologies Overview 221 more.
- Page 260 and 261:
6.4 Building the GUI and Resource F
- Page 262 and 263:
6.5 Overview of This App’s Classe
- Page 264 and 265:
6.7 MainActivityFragment Subclass o
- Page 266 and 267:
6.8 Class GameElement 229 37 38 39
- Page 268 and 269:
6.11 Cannon Class 231 5 public clas
- Page 270 and 271:
6.11 Cannon Class 233 38 // creates
- Page 272 and 273:
6.12 Cannonball Subclass of GameEle
- Page 274 and 275:
6.13 CannonView Subclass of Surface
- Page 276 and 277:
6.13 CannonView Subclass of Surface
- Page 278 and 279:
6.13 CannonView Subclass of Surface
- Page 280 and 281:
6.13 CannonView Subclass of Surface
- Page 282 and 283:
6.13 CannonView Subclass of Surface
- Page 284 and 285:
6.13 CannonView Subclass of Surface
- Page 286 and 287:
6.13 CannonView Subclass of Surface
- Page 288 and 289:
6.13 CannonView Subclass of Surface
- Page 290 and 291:
6.13 CannonView Subclass of Surface
- Page 292 and 293:
6.14 Wrap-Up 255 created a run meth
- Page 294 and 295:
7.1 Introduction 257 Outline 7.1 In
- Page 296 and 297:
7.3 Technologies Overview 259 Hint
- Page 298 and 299:
7.3 Technologies Overview 261 7.3.2
- Page 300 and 301:
7.3 Technologies Overview 263 to th
- Page 302 and 303:
7.4 Building the App’s GUI and Re
- Page 304 and 305:
7.4 Building the App’s GUI and Re
- Page 306 and 307:
7.5 Class Weather 269 Step 3: Addin
- Page 308 and 309:
7.5 Class Weather 271 18 // constru
- Page 310 and 311:
7.6 Class WeatherArrayAdapter 273 7
- Page 312 and 313:
7.6 Class WeatherArrayAdapter 275 9
- Page 314 and 315:
7.7 Class MainActivity 277 • The
- Page 316 and 317:
7.7 Class MainActivity 279 7.7.3 Ov
- Page 318 and 319:
7.7 Class MainActivity 281 Method c
- Page 320 and 321:
7.7 Class MainActivity 283 These pr
- Page 322 and 323:
7.8 Wrap-Up 285 mance via the view-
- Page 324 and 325:
8.1 Introduction 287 Outline 8.1 In
- Page 326 and 327:
8.2 Test-Driving the App 289 EditTe
- Page 328 and 329:
8.2 Test-Driving the App 291 8.2.2
- Page 330 and 331:
8.2 Test-Driving the App 293 Fig. 8
- Page 332 and 333:
8.3 Technologies Overview 295 8.2.6
- Page 334 and 335:
8.4 Building the App’s GUI and Re
- Page 336 and 337:
8.4 Building the App’s GUI and Re
- Page 338 and 339:
8.4 Building the App’s GUI and Re
- Page 340 and 341:
8.5 MainActivity Class 303 new layo
- Page 342 and 343:
8.5 MainActivity Class 305 32 publi
- Page 344 and 345:
8.5 MainActivity Class 307 Getting
- Page 346 and 347:
8.5 MainActivity Class 309 115 // s
- Page 348 and 349:
8.5 MainActivity Class 311 ry to pe
- Page 350 and 351:
8.5 MainActivity Class 313 AlertDia
- Page 352 and 353:
8.6 SearchesAdapter Subclass of Rec
- Page 354 and 355:
8.6 SearchesAdapter Subclass of Rec
- Page 356 and 357:
8.7 ItemDivider Subclass of Recycle
- Page 358 and 359:
8.9 Wrap-Up 321 We once again used
- Page 360 and 361:
323 Outline 9.1 Introduction 9.2 Te
- Page 362 and 363:
9.1 Introduction 325 a) In landscap
- Page 364 and 365:
9.2 Test-Driving the Address Book A
- Page 366 and 367:
9.3 Technologies Overview 329 9.3.2
- Page 368 and 369:
9.4 Building the GUI and Resource F
- Page 370 and 371:
9.4 Building the GUI and Resource F
- Page 372 and 373:
9.4 Building the GUI and Resource F
- Page 374 and 375:
9.4 Building the GUI and Resource F
- Page 376 and 377:
9.4 Building the GUI and Resource F
- Page 378 and 379:
9.5 Overview of This Chapter’s Cl
- Page 380 and 381:
9.6 DatabaseDescription Class 343 1
- Page 382 and 383:
9.7 AddressBookDatabaseHelper Class
- Page 384 and 385:
9.8 AddressBookContentProvider Clas
- Page 386 and 387:
9.8 AddressBookContentProvider Clas
- Page 388 and 389:
9.8 AddressBookContentProvider Clas
- Page 390 and 391:
9.8 AddressBookContentProvider Clas
- Page 392 and 393:
9.9 MainActivity Class 355 10 11 pu
- Page 394 and 395:
9.9 MainActivity Class 357 EditFrag
- Page 396 and 397:
9.9 MainActivity Class 359 115 // d
- Page 398 and 399:
9.10 ContactsFragment Class 361 25
- Page 400 and 401:
9.10 ContactsFragment Class 363 9.1
- Page 402 and 403:
9.11 ContactsAdapter Class 365 136
- Page 404 and 405:
9.11 ContactsAdapter Class 367 52 5
- Page 406 and 407:
9.12 AddEditFragment Class 369 4 5
- Page 408 and 409:
9.12 AddEditFragment Class 371 68 6
- Page 410 and 411:
9.12 AddEditFragment Class 373 9.12
- Page 412 and 413:
9.12 AddEditFragment Class 375 Load
- Page 414 and 415:
9.13 DetailFragment Class 377 25 im
- Page 416 and 417:
9.13 DetailFragment Class 379 85 ph
- Page 418 and 419:
9.13 DetailFragment Class 381 154 b
- Page 420 and 421:
9.14 Wrap-Up 383 method of the Cont
- Page 422 and 423:
10.1 Introduction 385 Outline 10.1
- Page 424 and 425:
10.2 Preparing Your Apps for Public
- Page 426 and 427:
10.2 Preparing Your Apps for Public
- Page 428 and 429:
10.3 Pricing Your App: Free or Fee
- Page 430 and 431:
10.5 Monetizing Apps: Using In-App
- Page 432 and 433:
10.7 Setting Up a Google Payments M
- Page 434 and 435:
10.9 Launching Play Store from With
- Page 436 and 437:
10.13 Marketing Your Apps 399 Platf
- Page 438 and 439:
10.13 Marketing Your Apps 401 E-Mai
- Page 440 and 441:
10.14 Wrap-Up 403 Mobile ad network
- Page 442 and 443:
Index Numerics 100 Destinations 5 A
- Page 444 and 445:
Index 407 android.permission.WRITE_
- Page 446 and 447:
Index 409 classes (cont.) FragmentT
- Page 448 and 449:
Index 411 documentation (cont.) Cla
- Page 450 and 451:
Index 413 getX method of class Moti
- Page 452 and 453:
Index 415 license for Android 4 lic
- Page 454 and 455:
Index 417 onProgressUpdate method o
- Page 456 and 457:
Index 419 res folder of an Android
- Page 458 and 459:
Index 421 surfaceChanged method of
- Page 460:
Join the Informit Affiliate Team! Y