Book description
Android Programming: The Big Nerd Ranch Guide is an introductory Android book for programmers with Kotlin experience.
Based on Big Nerd Ranch's popular Android Bootcamp, this guide will lead you through the wilderness using hands-on example apps combined with clear explanations of key concepts and APIs. This book focuses on practical techniques for developing apps in Kotlin compatible with Android 5.0 (Lollipop) through Android 8.1 (Oreo) and beyond.
Write and run code every step of the way, using Android Studio to create apps that integrate with other apps, download and display pictures from the web, play sounds, and more. Each chapter and app has been designed and tested to provide the knowledge and experience you need to get started in Android development.
The Android team is constantly improving and updating Android Studio and other tools. As a result, some of the instructions provided in the book have changed. You can find an addendum addressing breaking changes at: https://github.com/bignerdranch/AndroidCourseResources/raw/master/4thEdition/Errata/4eAddendum.pdf.
..
Table of contents
- Title Page
- Dedication
- Acknowledgments
- Table of Contents
- Learning Android
- The Necessary Tools
- 1. Your First Android Application
- 2. Interactive User Interfaces
-
3. The Activity Lifecycle
- Rotating GeoQuiz
- Activity States and Lifecycle Callbacks
- Logging the Activity Lifecycle
- Exploring How the Activity Lifecycle Responds to User Actions
- Device Configuration Changes and the Activity Lifecycle
- For the More Curious: Creating a Landscape Layout
- For the More Curious: UI Updates and Multi-Window Mode
- For the More Curious: Log Levels
- Challenge: Preventing Repeat Answers
- Challenge: Graded Quiz
- 4. Persisting UI State
- 5. Debugging Android Apps
- 6. Testing
-
7. Your Second Activity
- Setting Up a Second Activity
- Starting an Activity
- Passing Data Between Activities
- How Android Sees Your Activities
- For the More Curious: startActivityForResult
- For the More Curious: The Back Button and the Activity Lifecycle
- Challenge: Closing Loopholes for Cheaters
- Challenge: Tracking Cheat Status by Question
- 8. Android SDK Versions and Compatibility
- 9. Fragments
-
10. Displaying Lists with RecyclerView
- Adding a New Fragment and ViewModel
- Adding a RecyclerView
- Implementing a LayoutManager
- Creating an Item View Layout
- Implementing a ViewHolder
- Implementing an Adapter to Populate the RecyclerView
- Recycling Views
- Cleaning Up Binding List Items
- Responding to Presses
- Lists and Grids: Past, Present, and Future
- For the More Curious: A Smarter Adapter with ListAdapter
- Challenge: RecyclerView View Types
- 11. Creating User Interfaces with Layouts and Views
- 12. Coroutines and Databases
- 13. Fragment Navigation
- 14. Dialogs and DialogFragment
- 15. The App Bar
- 16. Implicit Intents
- 17. Taking Pictures with Intents
- 18. Localization
-
19. Accessibility
- TalkBack
- Making Non-Text Elements Readable by TalkBack
- Creating a Comparable Experience
- For the More Curious: Using TalkBack with an Emulator
- For the More Curious: Using Accessibility Scanner
- Challenge: Improving the List
- Challenge: Providing Enough Context for Data Entry
- Challenge: Announcing Events
- 20. Making Network Requests and Displaying Images
- 21. SearchView and DataStore
- 22. WorkManager
- 23. Browsing the Web and WebView
- 24. Custom Views and Touch Events
- 25. Property Animation
- 26. Introduction to Jetpack Compose
- 27. UI State in Jetpack Compose
- 28. Showing Dialogs with Jetpack Compose
- 29. Theming Compose UIs
- 30. Afterword
- Index
Product information
- Title: Android Programming: The Big Nerd Ranch Guide, 5th Edition
- Author(s):
- Release date: May 2022
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780137645794
You might also like
book
Android Programming: The Big Nerd Ranch Guide, 4th Edition
Android Programming: The Big Nerd Ranch Guide is an introductory Android book for programmers with Kotlin …
book
Head First Android Development, 3rd Edition
What will you learn from this book? If you have an idea for a killer Android …
book
Kotlin Programming: The Big Nerd Ranch Guide, 2nd Edition
Kotlin is a statically typed programming language designed to interoperate with Java and fully supported by …
book
Java How to Program, Early Objects, 11th Edition
For courses in Java programming Unparalleled breadth and depth of object-oriented programming concepts The Deitels’ groundbreaking …