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 DescriptionLooking 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 forIf 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- Creating Your First App
- Building User Screen Flows
- Developing the UI with Fragments
- Building App Navigation
- Essential Libraries: Retrofit, Moshi, and Glide
- Adding and Interacting with RecyclerView
- Android Permissions and Google Maps
- Services, WorkManager, and Notifications
- Building User Interfaces Using Jetpack Compose
- Unit Tests and Integration Tests with JUnit, Mockito, and Espresso
- Android Architecture Components
- Persisting Data
- Dependency Injection with Dagger, Hilt, and Koin
- Coroutines and Flow
- Architecture Patterns
- Animations and Transitions with CoordinatorLayout and MotionLayout
- Launching Your App on Google Play