Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Android Studio 4.2 Development Essentials - Java Edition
Android Studio 4.2 Development Essentials - Java Edition

Android Studio 4.2 Development Essentials - Java Edition: Developing Android applications using Android Studio 4.2, Java, and Android Jetpack

Arrow left icon
Profile Icon Neil Smyth
Arrow right icon
£16.99 per month
Paperback Aug 2021 782 pages 1st Edition
eBook
£29.99
Paperback
£37.99
Subscription
Free Trial
Renews at £16.99p/m
Arrow left icon
Profile Icon Neil Smyth
Arrow right icon
£16.99 per month
Paperback Aug 2021 782 pages 1st Edition
eBook
£29.99
Paperback
£37.99
Subscription
Free Trial
Renews at £16.99p/m
eBook
£29.99
Paperback
£37.99
Subscription
Free Trial
Renews at £16.99p/m

What do you get with a Packt Subscription?

Free for first 7 days. £16.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Key benefits

  • Design complex and responsive user interface layouts with the Android Studio 4.2 IDE
  • Build view model-based apps using the Jetpack architecture and use the latest Material Design components to build modern user interface designs
  • Integrate with SQLite databases and the Android Room Persistence Library

Description

Android Studio is an Integrated Development Environment based on the JetBrains IntelliJ IDEA. It provides developers with a unique platform to design and develop Android apps using various developer tools. The new Android Studio 4.2 has an upgraded IntelliJ platform and a variety of new features designed to improve the productivity of Android app developers. Fully updated for Android Studio 4.2, the objective of this book is to help you master the skills necessary to develop Android applications using Java as the programming language. This book begins by outlining the steps necessary to set up an Android development and testing environment and introducing programming in Java, describing data types, flow control, functions, lambdas, and object-oriented programming. It includes an overview of Android Studio, covering areas such as tool windows, the code editor, and the Layout Editor tool. An introduction to Android architecture is followed by an in-depth explanation of the design of Android applications and user interfaces using the Android Studio environment. Early chapters detail Android Architecture components like view models, lifecycle management, Room database access, the Database Inspector, app navigation, live data, and data binding. Advanced topics such as intents are also covered, as are touch screen handling, gesture recognition, and the recording and playback of audio. You will also explore printing, transitions, cloud-based file storage, and foldable device support. Detailed descriptions of the concepts of material design are provided, including the use of floating action buttons, Snackbars, tabbed interfaces, card views, navigation drawers, and collapsing toolbars. Some key features of Android Studio 4.2 and Android discussed in-depth include the Layout Editor, the ConstraintLayout and ConstraintSet classes, MotionLayout Editor, view binding, constraint chains, barriers, and direct reply notifications. Later chapters cover advanced features of Android Studio such as App Links, Dynamic Delivery, the Android Studio Profiler, Gradle build configuration, and submitting apps to the Google Play Developer Console.

Who is this book for?

This book is for anyone who wants to learn Android application development. Existing Android developers who want to upgrade their skills and get into the Kotlin ecosystem. To get the most from this book, you should have some previous programming experience. You will be required to download Android Studio and the Android SDK for this course. Make sure you have access to a Windows, Mac, or Linux system and some creative app ideas to develop.

What you will learn

  • Install and configure Android Studio on Windows, macOS, and Linux
  • Learn to code using Java programming language
  • Understand Android architecture and app lifecycle
  • Animate your user interfaces using Android MotionLayout
  • Monitor app performances using the Android Studio Profiler tool
  • Add printing support from within your own apps

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Aug 10, 2021
Length: 782 pages
Edition : 1st
Language : English
ISBN-13 : 9781803238814
Vendor :
JetBrains
Category :
Languages :
Tools :

What do you get with a Packt Subscription?

Free for first 7 days. £16.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Product Details

Publication date : Aug 10, 2021
Length: 782 pages
Edition : 1st
Language : English
ISBN-13 : 9781803238814
Vendor :
JetBrains
Category :
Languages :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
£16.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
£169.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
£234.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

Frequently bought together


Stars icon
Total £ 100.97
Android Studio 4.2 Development Essentials - Java Edition
£37.99
Learning Java by Building Android Games
£29.99
Android Programming for Beginners
£32.99
Total £ 100.97 Stars icon

Table of Contents

87 Chapters
1. Introduction Chevron down icon Chevron up icon
2. Setting up an Android Studio Development Environment Chevron down icon Chevron up icon
3. Creating an Example Android App in Android Studio Chevron down icon Chevron up icon
4. Creating an Android Virtual Device (AVD) in Android Studio Chevron down icon Chevron up icon
5. Using and Configuring the Android Studio AVD Emulator Chevron down icon Chevron up icon
6. A Tour of the Android Studio User Interface Chevron down icon Chevron up icon
7. Testing Android Studio Apps on a Physical Android Device Chevron down icon Chevron up icon
8. The Basics of the Android Studio Code Editor Chevron down icon Chevron up icon
9. An Overview of the Android Architecture Chevron down icon Chevron up icon
10. The Anatomy of an Android Application Chevron down icon Chevron up icon
11. An Overview of Android View Binding Chevron down icon Chevron up icon
12. Understanding Android Application and Activity Lifecycles Chevron down icon Chevron up icon
13. Handling Android Activity State Changes Chevron down icon Chevron up icon
14. Android Activity State Changes by Example Chevron down icon Chevron up icon
15. Saving and Restoring the State of an Android Activity Chevron down icon Chevron up icon
16. Understanding Android Views, View Groups and Layouts Chevron down icon Chevron up icon
17. A Guide to the Android Studio Layout Editor Tool Chevron down icon Chevron up icon
18. A Guide to the Android ConstraintLayout Chevron down icon Chevron up icon
19. A Guide to Using ConstraintLayout in Android Studio Chevron down icon Chevron up icon
20. Working with ConstraintLayout Chains and Ratios in Android Studio Chevron down icon Chevron up icon
21. An Android Studio Layout Editor ConstraintLayout Tutorial Chevron down icon Chevron up icon
22. Manual XML Layout Design in Android Studio Chevron down icon Chevron up icon
23. Managing Constraints using Constraint Sets Chevron down icon Chevron up icon
24. An Android ConstraintSet Tutorial Chevron down icon Chevron up icon
25. A Guide to using Apply Changes in Android Studio Chevron down icon Chevron up icon
26. An Overview and Example of Android Event Handling Chevron down icon Chevron up icon
27. Android Touch and Multi-touch Event Handling Chevron down icon Chevron up icon
28. Detecting Common Gestures Using the Android Gesture Detector Class Chevron down icon Chevron up icon
29. Implementing Custom Gesture and Pinch Recognition on Android Chevron down icon Chevron up icon
30. An Introduction to Android Fragments Chevron down icon Chevron up icon
31. Using Fragments in Android Studio - An Example Chevron down icon Chevron up icon
32. Modern Android App Architecture with Jetpack Chevron down icon Chevron up icon
33. An Android Jetpack ViewModel Tutorial Chevron down icon Chevron up icon
34. An Android Jetpack LiveData Tutorial Chevron down icon Chevron up icon
35. An Overview of Android Jetpack Data Binding Chevron down icon Chevron up icon
36. An Android Jetpack Data Binding Tutorial Chevron down icon Chevron up icon
37. An Android ViewModel Saved State Tutorial Chevron down icon Chevron up icon
38. Working with Android Lifecycle-Aware Components Chevron down icon Chevron up icon
39. An Android Jetpack Lifecycle Awareness Tutorial Chevron down icon Chevron up icon
40. An Overview of the Navigation Architecture Component Chevron down icon Chevron up icon
41. An Android Jetpack Navigation Component Tutorial Chevron down icon Chevron up icon
42. An Introduction to MotionLayout Chevron down icon Chevron up icon
43. An Android MotionLayout Editor Tutorial Chevron down icon Chevron up icon
44. A MotionLayout KeyCycle Tutorial Chevron down icon Chevron up icon
45. Working with the Floating Action Button and Snackbar Chevron down icon Chevron up icon
46. Creating a Tabbed Interface using the TabLayout Component Chevron down icon Chevron up icon
47. Working with the RecyclerView and CardView Widgets Chevron down icon Chevron up icon
48. An Android RecyclerView and CardView Tutorial Chevron down icon Chevron up icon
49. A Layout Editor Sample Data Tutorial Chevron down icon Chevron up icon
50. Working with the AppBar and Collapsing Toolbar Layouts Chevron down icon Chevron up icon
51. An Android Studio Primary/Detail Flow Tutorial Chevron down icon Chevron up icon
52. An Overview of Android Intents Chevron down icon Chevron up icon
53. Android Explicit Intents – A Worked Example Chevron down icon Chevron up icon
54. Android Implicit Intents – A Worked Example Chevron down icon Chevron up icon
55. Android Broadcast Intents and Broadcast Receivers Chevron down icon Chevron up icon
56. A Basic Overview of Java Threads, Handlers and Executors Chevron down icon Chevron up icon
57. An Overview of Android Services Chevron down icon Chevron up icon
58. Implementing an Android Started Service – A Worked Example Chevron down icon Chevron up icon
59. Android Local Bound Services – A Worked Example Chevron down icon Chevron up icon
60. Android Remote Bound Services – A Worked Example Chevron down icon Chevron up icon
61. An Android Notifications Tutorial Chevron down icon Chevron up icon
62. An Android Direct Reply Notification Tutorial Chevron down icon Chevron up icon
63. Foldable Devices and Multi-Window Support Chevron down icon Chevron up icon
64. An Overview of Android SQLite Databases Chevron down icon Chevron up icon
65. The Android Room Persistence Library Chevron down icon Chevron up icon
66. An Android TableLayout and TableRow Tutorial Chevron down icon Chevron up icon
67. An Android Room Database and Repository Tutorial Chevron down icon Chevron up icon
68. Accessing Cloud Storage using the Android Storage Access Framework Chevron down icon Chevron up icon
69. An Android Storage Access Framework Example Chevron down icon Chevron up icon
70. Video Playback on Android using the VideoView and MediaController Classes Chevron down icon Chevron up icon
71. Android Picture-in-Picture Mode Chevron down icon Chevron up icon
72. An Android Picture-in-Picture Tutorial Chevron down icon Chevron up icon
73. Making Runtime Permission Requests in Android Chevron down icon Chevron up icon
74. Android Audio Recording and Playback using MediaPlayer and MediaRecorder Chevron down icon Chevron up icon
75. Working with the Google Maps Android API in Android Studio Chevron down icon Chevron up icon
76. Printing with the Android Printing Framework Chevron down icon Chevron up icon
77. An Android HTML and Web Content Printing Example Chevron down icon Chevron up icon
78. A Guide to Android Custom Document Printing Chevron down icon Chevron up icon
79. An Introduction to Android App Links Chevron down icon Chevron up icon
80. An Android Studio App Links Tutorial Chevron down icon Chevron up icon
81. A Guide to the Android Studio Profiler Chevron down icon Chevron up icon
82. An Android Biometric Authentication Tutorial Chevron down icon Chevron up icon
83. Creating, Testing and Uploading an Android App Bundle Chevron down icon Chevron up icon
84. An Overview of Android Dynamic Feature Modules Chevron down icon Chevron up icon
85. An Android Studio Dynamic Feature Tutorial Chevron down icon Chevron up icon
86. An Overview of Gradle in Android Studio Chevron down icon Chevron up icon
Index 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

What is included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.