My Account Log in

1 option

Mastering Kotlin for Android 14 : Build Powerful Android Apps from Scratch Using Jetpack Libraries and Jetpack Compose / Harun Wangereka.

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Wangereka, Harun, author.
Language:
English
Subjects (All):
Application software--Development.
Application software.
Mobile apps--Development.
Mobile apps.
Java (Computer program language).
Computer software--Development.
Computer software.
Open source software.
Physical Description:
1 online resource (370 pages)
Edition:
First edition.
Place of Publication:
Birmingham, England : Packt Publishing Ltd., [2024]
Summary:
Accelerate your Android development journey by mastering the latest Kotlin techniques and libraries to build robust apps Key Features Apply best practices and industry-essential skills used by Google Developer Experts Find out how to publish, monitor, and improve your app metrics on the Google Play Store Learn how to debug issues, detect leaks, inspect network calls, and inspect your app's local database Purchase of the print or Kindle book includes a free PDF eBook Book Description Written with the best practices, this book will help you master Kotlin and use its powerful language features, libraries, tools, and APIs to elevate your Android apps. As you progress, you'll use Jetpack Compose and Material Design 3 to build UIs for your app, explore how to architect and improve your app architecture, and use Jetpack Libraries like Room and DataStore to persist your data locally. Using a step-by-step approach, this book will teach you how to debug issues in your app, detect leaks, inspect network calls fired by your app, and inspect your Room database. You'll also add tests to your apps to detect and address code smells. Toward the end, you'll learn how to publish apps to the Google Play Store and see how to automate the process of deploying consecutive releases using GitHub actions, as well as learn how to distribute test builds to Firebase App Distribution. Additionally, the book covers tips on how to increase user engagement. By the end of this Kotlin book, you'll be able to develop market-ready apps, add tests to their codebase, address issues, and get them in front of the right audience. What you will learn Build beautiful, responsive, and accessible UIs with Jetpack Compose Explore various app architectures and find out how you can improve them Perform code analysis and add unit and instrumentation tests to your apps Publish, monitor, and improve your apps in the Google Play Store Perform long-running operations with WorkManager and persist data in your app Use CI/CD with GitHub Actions and distribute test builds with Firebase App Distribution Find out how to add linting and static checks on CI/CD pipelines Who this book is for If you're an aspiring Android developer or an Android developer working with Java, then this book is for you. Basic Java programming skills are a must if you want to fully utilize the techniques and best practices showcased in this book.
Contents:
Cover
Title Page
Copyright and credits
Dedication
Contributors
Table of Contents
Preface
Part 1: Building Your App
Chapter 1: Get Started with Kotlin Android Development
Technical requirements
Introduction to Kotlin
Kotlin syntax, types, functions and classes
Creating a Kotlin project
Creating functions
Creating classes
Migrating from Java to Kotlin
Kotlin features for Android developers
Summary
Chapter 2: Creating Your First Android App
Android Studio overview
Creating your Android app
Exploring the new project
Android Studio tips and tricks
Some useful shortcuts
Chapter 3: Jetpack Compose Layout Basics
Introduction to Jetpack Compose
Declarative versus imperative UIs
Composable functions
Previews
Modifiers
Jetpack Compose layouts
Column
Row
Box
Lists
Chapter 4: Design with Material Design 3
Material Design 3 and its features
Material components
Using Material Design in our apps
Adding Material Design 3 color schemes
Designing UIs for large screens and foldables
Using WindowSizeClass
Making our app accessible
Part 2: Using Advanced Features
Chapter 5: Architect Your App
Technical Requirements
Introduction to app architecture
Deep Diving into MVVM
How LazyColumn works
Benefits of LazyColumn
Creating a composable
Jetpack libraries
Dependency injection
Migrating to Kotlin Gradle DSL and using version catalogs
Migrating our app to Kotlin Gradle DSL
Using a versions catalog
Chapter 6: Network Calls with Kotlin Coroutines
Setting up Retrofit
Introduction to Kotlin coroutines
Coroutine basics.
Using Kotlin coroutines for network calls
Chapter 7: Navigating within Your App
Jetpack Navigation overview
Navigating to Compose destinations
Passing arguments to destinations
Navigation in foldables and large screens
Creating and using the resizable emulator
Chapter 8: Persisting Data Locally and Doing Background Work
Saving and reading data from a local database
Handling updates and migrations in the Room database
Using WorkManager to schedule background tasks
Testing your workers
Chapter 9: Runtime Permissions
Understanding runtime permissions
Requesting permissions at runtime
Part 3: Code Analysis and Tests
Chapter 10: Debugging Your App
General debugging tips and tricks
Logcat
Stack traces
Breakpoints
Detecting memory leaks with LeakCanary
Inspecting network requests with Chucker
Using App Inspection
Chapter 11: Enhancing Code Quality
Mastering Kotlin style and best practices
Coding conventions
Null safety
Data classes
Extensions functions
Type inference
Collections
Sealed classes and interfaces
Formatting
Functional programming
Coroutines
The when statements
Classes and functions
Using Ktlint for static analysis
Detecting code smells with detekt
Setting up detekt
Customizing detekt
Chapter 12: Testing Your App
Importance of testing
Testing the network and database layers
Testing the network layer
Testing the database layer
Testing our ViewModels
Adding UI tests to our composables
Part 4: Publishing Your App
Chapter 13: Publishing Your App
Technical requirements.
Preparing our app for release
Add analytics to your app
Add crash reporting to your app
Turn off logging and debugging
Internationalize and localize your app
Improve error messages
Test your app on different devices
Provide proper feedback channels
Reduce the size of your app
Use the Android App Bundle
Enable minification and obfuscation
Releasing our app to the Google Play Store
Creating our first release
An overview of Google Play Store policies
Chapter 14: Continuous Integration and Continuous Deployment
Setting up GitHub Actions
Benefits of CI/CD
How CI/CD works
Running lint checks and tests on GitHub Actions
Deploying to Play Store using GitHub Actions
Chapter 15: Improving Your App
Using Firebase Crashlytics to detect crashes
Setting up Google Analytics
Improving app engagement with Firebase Messaging
Securing your app
Index
Other Books You May Enjoy.
Notes:
Description based on publisher supplied metadata and other sources.
Description based on print version record.
ISBN:
9781837631131
1837631131
OCLC:
1425798541

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Library Catalog Using Articles+ Library Account