Book description
Unleash the power of Android programming to build scalable and reliable apps using industry best practices Purchase of the print or Kindle book includes a free PDF eBook
Key Features
- Build apps with Kotlin, Google’s preferred programming language for Android development
- Unlock solutions to development challenges with guidance from experienced Android professionals
- Improve your apps by adding valuable features that make use of advanced functionality
Book Description
Looking to kick-start your app development journey with Android 13, but don’t know where to start? How to Build Android Apps with Kotlin is a comprehensive guide that will help jump-start your Android development practice.
This book starts with the fundamentals of app development, enabling you to utilize Android Studio and Kotlin to get started with building Android projects. You'll learn how to create apps and run them on virtual devices through guided exercises. Progressing through the chapters, you'll delve into Android's RecyclerView to make the most of lists, images, and maps, and see how to fetch data from a web service.
You'll also get to grips with testing, learning how to keep your architecture clean, understanding how to persist data, and gaining basic knowledge of the dependency injection pattern. Finally, you'll see how to publish your apps on the Google Play store.
You'll work on realistic projects that are split up into bitesize exercises and activities, allowing you to challenge yourself in an enjoyable and attainable way. You'll build apps to create quizzes, read news articles, check weather reports, store recipes, retrieve movie information, and remind you where you parked your car.
By the end of this book, you'll have the skills and confidence to build your own creative Android applications using Kotlin.
What you will learn
- Create maintainable and scalable apps using Kotlin
- Understand the Android app development lifecycle
- Simplify app development with Google architecture components
- Use standard libraries for dependency injection and data parsing
- Apply the repository pattern to retrieve data from outside sources
- Build user interfaces using Jetpack Compose
- Explore Android asynchronous programming with Coroutines and the Flow API
- Publish your app on the Google Play store
Who this book is for
If you want to build Android applications using Kotlin but are unsure of how and where to begin, then this book is for you. To easily grasp the concepts in this book, a basic understanding of Kotlin, or experience in a similar programming language is a must.
Table of contents
- How to Build Android Apps with Kotlin
- Contributors
- About the authors
- About the reviewers
- Preface
- Part 1: Android Foundation
- Chapter 1: Creating Your First App
- Chapter 2: Building User Screen Flows
- Chapter 3: Developing the UI with Fragments
- Chapter 4: Building App Navigation
- Part 2: Displaying Network Calls
- Chapter 5: Essential Libraries: Retrofit, Moshi, and Glide
- Chapter 6: Adding and Interacting with RecyclerView
- Chapter 7: Android Permissions and Google Maps
- Chapter 8: Services, WorkManager, and Notifications
- Chapter 9: Building User Interfaces Using Jetpack Compose
- Part 3: Testing and Code Structure
- Chapter 10: Unit Tests and Integration Tests with JUnit, Mockito, and Espresso
- Chapter 11: Android Architecture Components
- Chapter 12: Persisting Data
- Chapter 13: Dependency Injection with Dagger, Hilt, and Koin
- Part 4: Polishing and Publishing an App
- Chapter 14: Coroutines and Flow
- Chapter 15: Architecture Patterns
-
Chapter 16: Animations and Transitions with CoordinatorLayout and MotionLayout
- Technical requirements
-
Activity transitions
- Adding activity transitions through XML
- Adding activity transitions through code
- Starting an activity with an activity transition
- Exercise 16.01 – creating activity transitions in an app
- Adding a shared element transition
- Starting an activity with the shared element transition
- Exercise 16.02 – creating the shared element transition
- Animations with CoordinatorLayout
- Animations with MotionLayout
- Summary
- Chapter 17: Launching Your App on Google Play
- Index
- Other Books You May Enjoy
Product information
- Title: How to Build Android Apps with Kotlin - Second Edition
- Author(s):
- Release date: May 2023
- Publisher(s): Packt Publishing
- ISBN: 9781837634934
You might also like
book
How to Build Android Apps with Kotlin
Master the fundamentals of Android programming and apply your skills to create scalable and reliable apps …
video
The Art of Doing: Dive Into Android Development with Kotlin
The Art of Doing: Dive into Android development with Kotlin is a course that takes the …
book
Mastering Kotlin for Android 14
Accelerate your Android development journey by mastering the latest Kotlin techniques and libraries to build robust …
book
Programming Android with Kotlin
Developing applications for the Android mobile operating system can seem daunting, particularly if it requires learning …