Book description
Android Programming: The Big Nerd Ranch Guide is an introductory Android book for programmers with Java experience.
Based on Big Nerd Ranch's popular Android Bootcamp course, 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 compatible with Android 4.1 (Jelly Bean) and up, including coverage of Lollipop and material design.
Write and run code every step of the way, creating apps that integrate with other Android 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.
Big Nerd Ranch specializes in developing and designing innovative applications for clients around the world. Our experts teach others through our books, bootcamps, and onsite training. Whether it's Android, iOS, Ruby and Ruby on Rails, Cocoa, Mac OS X, JavaScript, HTML5 or UX/UI, we've got you covered.
The Android team is constantly improving and updating Android Studio and other tools. As a result, some of the instructions we provide in the book are no longer correct. You can find an addendum addressing breaking changes at:
https://github.com/bignerdranch/AndroidCourseResources/raw/master/2ndEdition/Errata/2eAddendum.pdf.
Table of contents
- Title Page
- Dedication
- Acknowledgments
- Table of Contents
- Learning Android
- The Necessary Tools
- 1. Your First Android Application
- 2. Android and Model-View-Controller
- 3. The Activity Lifecycle
- 4. Debugging Android Apps
- 5. Your Second Activity
- 6. Android SDK Versions and Compatibility
-
7. UI Fragments and the Fragment Manager
- The Need for UI Flexibility
- Introducing Fragments
- Starting CriminalIntent
- Hosting a UI Fragment
- Creating a UI Fragment
- Adding a UI Fragment to the FragmentManager
- Application Architecture with Fragments
- For the More Curious: Why Support Fragments are Superior
- For the More Curious: Using Built-In Fragments
- 8. Creating User Interfaces with Layouts and Widgets
- 9. Displaying Lists with RecyclerView
- 10. Using Fragment Arguments
- 11. Using ViewPager
- 12. Dialogs
- 13. The Toolbar
- 14. SQLite Databases
- 15. Implicit Intents
- 16. Taking Pictures with Intents
- 17. Two-Pane Master-Detail Interfaces
- 18. Assets
- 19. Audio Playback with SoundPool
- 20. Styles and Themes
- 21. XML Drawables
- 22. More About Intents and Tasks
-
23. HTTP & Background Tasks
- Creating PhotoGallery
- Networking Basics
- Using AsyncTask to Run on a Background Thread
- You and Your Main Thread
- Fetching JSON from Flickr
- From AsyncTask Back to the Main Thread
- Cleaning Up AsyncTasks
- For the More Curious: More on AsyncTask
- For the More Curious: Alternatives to AsyncTask
- Challenge: Gson
- Challenge: Paging
- Challenge: Dynamically Adjusting the Number of Columns
-
24. Loopers, Handlers, and HandlerThread
- Preparing RecyclerView to Display Images
- Downloading Lots of Small Things
- Communicating with the Main Thread
- Assembling a Background Thread
- Messages and Message Handlers
- For the More Curious: AsyncTask vs. Threads
- Challenge: Preloading and Caching
- For the More Curious: Solving the Image Downloading Problem
- 25. Search
-
26. Background Services
- Creating an IntentService
- What Services are For
- Looking for New Results
- Delayed Execution with AlarmManager
- Controlling Your Alarm
- Notifications
- Challenge: Notifications on Android Wear
- For the More Curious: Service Details
- For the More Curious: JobScheduler and JobServices
- For the More Curious: Sync Adapters
- Challenge: Using JobService on Lollipop
- 27. Broadcast Intents
-
28. Browsing the Web and WebView
- One Last Bit of Flickr Data
- The Easy Way: Implicit Intents
- The Harder Way: WebView
- Proper Rotation with WebView
- For the More Curious: Injecting JavaScript Objects
- For the More Curious: KitKat’s WebView Overhaul
- Challenge: Using the Back Button for Browser History
- Challenge: Supporting Non-HTTP Links
- 29. Custom Views and Touch Events
- 30. Property Animation
- 31. Locations and Play Services
- 32. Maps
- 33. Material Design
- 34. Afterword
- Index
Product information
- Title: Android Programming: The Big Nerd Ranch Guide, 2nd Edition
- Author(s):
- Release date: July 2015
- Publisher(s): Big Nerd Ranch Guides
- ISBN: 9780134171517
You might also like
book
Android Programming: The Big Nerd Ranch Guide, Third Edition
Android Programming: The Big Nerd Ranch Guide is an introductory Android book for programmers with Java …
book
Android Programming: The Big Nerd Ranch Guide
Android Programming: The Big Nerd Ranch Guide: is an introductory Android book for programmers with Java …
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
iOS Programming: The Big Nerd Ranch Guide, 7th Edition
Updated for Xcode 11, Swift 5, and iOS 13, iOS Programming: The Big Nerd Ranch Guide …