Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Mastering Kotlin for Android 14
Mastering Kotlin for Android 14

Mastering Kotlin for Android 14: Build powerful Android apps from scratch using Jetpack libraries and Jetpack Compose

Profile Icon Harun Wangereka
By Harun Wangereka
€15.99 €23.99
Book Apr 2024 370 pages 1st Edition
eBook
€15.99 €23.99
Print
€29.99
Subscription
Free Trial
Renews at €18.99p/m
Profile Icon Harun Wangereka
By Harun Wangereka
€15.99 €23.99
Book Apr 2024 370 pages 1st Edition
eBook
€15.99 €23.99
Print
€29.99
Subscription
Free Trial
Renews at €18.99p/m
eBook
€15.99 €23.99
Print
€29.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon AI Assistant (beta) to help accelerate your learning
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Table of content icon View table of contents Preview book icon Preview Book

Mastering Kotlin for Android 14

Get Started with Kotlin Android Development

Kotlin is a static programming language that allows you to write concise and typed code. It’s the language preferred for Android development by Google.

In this chapter, we’ll get to know Kotlin as a programming language. We will cover features that are useful for Android development and their importance for Android developers. Additionally, we’ll cover how to migrate from Java to Kotlin and some useful tips for developers coming from Java backgrounds.

In this chapter, we’re going to cover the following main topics:

  • Introduction to Kotlin
  • Kotlin syntax, types, functions, and classes
  • Migrating from Java to Kotlin
  • Kotlin features for Android developers
Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • 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

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

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Apr 5, 2024
Length 370 pages
Edition : 1st Edition
Language : English
ISBN-13 : 9781837631711
Vendor :
JetBrains
Category :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon AI Assistant (beta) to help accelerate your learning
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want

Product Details

Publication date : Apr 5, 2024
Length 370 pages
Edition : 1st Edition
Language : English
ISBN-13 : 9781837631711
Vendor :
JetBrains
Category :

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
€189.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
€264.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts

Table of Contents

22 Chapters
Preface Chevron down icon Chevron up icon
1. Part 1: Building Your App Chevron down icon Chevron up icon
2. Chapter 1: Get Started with Kotlin Android Development Chevron down icon Chevron up icon
3. Chapter 2: Creating Your First Android App Chevron down icon Chevron up icon
4. Chapter 3: Jetpack Compose Layout Basics Chevron down icon Chevron up icon
5. Chapter 4: Design with Material Design 3 Chevron down icon Chevron up icon
6. Part 2: Using Advanced Features Chevron down icon Chevron up icon
7. Chapter 5: Architect Your App Chevron down icon Chevron up icon
8. Chapter 6: Network Calls with Kotlin Coroutines Chevron down icon Chevron up icon
9. Chapter 7: Navigating within Your App Chevron down icon Chevron up icon
10. Chapter 8: Persisting Data Locally and Doing Background Work Chevron down icon Chevron up icon
11. Chapter 9: Runtime Permissions Chevron down icon Chevron up icon
12. Part 3: Code Analysis and Tests Chevron down icon Chevron up icon
13. Chapter 10: Debugging Your App Chevron down icon Chevron up icon
14. Chapter 11: Enhancing Code Quality Chevron down icon Chevron up icon
15. Chapter 12: Testing Your App Chevron down icon Chevron up icon
16. Part 4: Publishing Your App Chevron down icon Chevron up icon
17. Chapter 13: Publishing Your App Chevron down icon Chevron up icon
18. Chapter 14: Continuous Integration and Continuous Deployment Chevron down icon Chevron up icon
19. Chapter 15: Improving Your App Chevron down icon Chevron up icon
20. Index Chevron down icon Chevron up icon
21. Other Books You May Enjoy Chevron down icon Chevron up icon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.