Book description
Acquire the skills necessary to develop Android apps using the Android Studio integrated development environment and the Kotlin programming language
Key Features
- Learn to code using the Kotlin programming language
- Use the latest Material Design components to build modern user interface designs
- Integrate with SQLite databases and the Android Room Persistence Library
Book Description
Android 11 has a ton of new capabilities. It comes up with three foci: a people-centric approach to communication, controls to let users quickly access and manage all of their smart devices, and privacy to give users more ways to control how data on devices is shared.
This book starts off with the steps necessary to set up an Android development and testing environment, followed by an introduction to programming in Kotlin. An overview of Android Studio and its architecture is provided, followed by an in-depth look at the design of Android applications and user interfaces using the Android Studio environment. You will also learn about the Android architecture components along with some advanced topics such as touch screen handling, gesture recognition, the recording and playback of audio, app links, dynamic delivery, the AndroidStudio profiler, Gradle build configuration, and submitting apps to the Google Play Developer Console.
The concepts of material design are also covered in detail. This edition of the book also covers printing, transitions, and cloud-based file storage; foldable device support is the cherry on the cake.
By the end of this course, you will be able to develop Android 11 Apps using Android Studio 4.1, Kotlin, and Android Jetpack.
What you will learn
- Install and configure Android Studio on Windows, macOS, and Linux
- Write multi-threaded Kotlin code using Coroutines
- Understand Android architecture and app lifecycle
- Build view model-based apps using the Jetpack architecture
- Integrate your apps with Google cloud storage
- Add printing support from within your own apps
Who this book is for
This book is for Kotlin developers who want to learn essential skills to work with Android Studio 4.1 to build applications. The book also covers important topics about Android architecture essential for anyone looking to become an Android application developer.
Assuming you already have some programming experience, are ready to download Android Studio and the Android SDK, have access to a Windows, Mac, or Linux system, and have ideas for some apps to develop, then you are ready to get started. Some Kotlin programming experience is also required to understand certain concepts in this book.
Table of contents
- 1. Introduction
-
2. Setting up an Android Studio Development Environment
- 2.1 System Requirements
- 2.2 Downloading the Android Studio Package
- 2.3 Installing Android Studio
- 2.4 The Android Studio Setup Wizard
- 2.5 Installing Additional Android SDK Packages
- 2.6 Making the Android SDK Tools Command-line Accessible
- 2.7 Android Studio Memory Management
- 2.8 Updating Android Studio and the SDK
- 2.9 Summary
-
3. Creating an Example Android App in Android Studio
- 3.1 About the Project
- 3.2 Creating a New Android Project
- 3.3 Creating an Activity
- 3.4 Defining the Project and SDK Settings
- 3.5 Modifying the Example Application
- 3.6 Modifying the User Interface
- 3.7 Reviewing the Layout and Resource Files
- 3.8 Adding the Kotlin Extensions Plugin
- 3.9 Adding Interaction
- 3.10 Summary
-
4. Creating an Android Virtual Device (AVD) in Android Studio
- 4.1 About Android Virtual Devices
- 4.2 Creating a New AVD
- 4.3 Starting the Emulator
- 4.4 Running the Application in the AVD
- 4.5 Running on Multiple Devices
- 4.6 Stopping a Running Application
- 4.7 Supporting Dark Theme
- 4.8 Running the Emulator in a Tool Window
- 4.9 AVD Command-line Creation
- 4.10 Android Virtual Device Configuration Files
- 4.11 Moving and Renaming an Android Virtual Device
- 4.12 Summary
- 5. Using and Configuring the Android Studio AVD Emulator
- 6. A Tour of the Android Studio User Interface
- 7. Testing Android Studio Apps on a Physical Android Device
-
8. The Basics of the Android Studio Code Editor
- 8.1 The Android Studio Editor
- 8.2 Splitting the Editor Window
- 8.3 Code Completion
- 8.4 Statement Completion
- 8.5 Parameter Information
- 8.6 Parameter Name Hints
- 8.7 Code Generation
- 8.8 Code Folding
- 8.9 Quick Documentation Lookup
- 8.10 Code Reformatting
- 8.11 Finding Sample Code
- 8.12 Live Templates
- 8.13 Summary
- 9. An Overview of the Android Architecture
- 10. The Anatomy of an Android Application
- 11. An Introduction to Kotlin
-
12. Kotlin Data Types,Variables and Nullability
- 12.1 Kotlin Data Types
- 12.2 Mutable Variables
- 12.3 Immutable Variables
- 12.4 Declaring Mutable and Immutable Variables
- 12.5 Data Types are Objects
- 12.6 Type Annotations and Type Inference
- 12.7 Nullable Type
- 12.8 The Safe Call Operator
- 12.9 Not-Null Assertion
- 12.10 Nullable Types and the let Function
- 12.11 Late Initialization (lateinit)
- 12.12 The Elvis Operator
- 12.13 Type Casting and Type Checking
- 12.14 Summary
- 13. Kotlin Operators and Expressions
- 14. Kotlin Flow Control
-
15. An Overview of Kotlin Functions and Lambdas
- 15.1 What is a Function?
- 15.2 How to Declare a Kotlin Function
- 15.3 Calling a Kotlin Function
- 15.4 Single Expression Functions
- 15.5 Local Functions
- 15.6 Handling Return Values
- 15.7 Declaring Default Function Parameters
- 15.8 Variable Number of Function Parameters
- 15.9 Lambda Expressions
- 15.10 Higher-order Functions
- 15.11 Summary
-
16. The Basics of Object Oriented Programming in Kotlin
- 16.1 What is an Object?
- 16.2 What is a Class?
- 16.3 Declaring a Kotlin Class
- 16.4 Adding Properties to a Class
- 16.5 Defining Methods
- 16.6 Declaring and Initializing a Class Instance
- 16.7 Primary and Secondary Constructors
- 16.8 Initializer Blocks
- 16.9 Calling Methods and Accessing Properties
- 16.10 Custom Accessors
- 16.11 Nested and Inner Classes
- 16.12 Companion Objects
- 16.13 Summary
- 17. An Introduction to Kotlin Inheritance and Subclassing
- 18. An Overview of Android View Binding
- 19. Understanding Android Application and Activity Lifecycles
- 20. Handling Android Activity State Changes
- 21. Android Activity State Changes by Example
- 22. Saving and Restoring the State of an Android Activity
- 23. Understanding Android Views, View Groups and Layouts
-
24. A Guide to the Android Studio Layout Editor Tool
- 24.1 Basic vs. Empty Activity Templates
- 24.2 The Android Studio Layout Editor
- 24.3 Design Mode
- 24.4 The Palette
- 24.5 Design Mode and Layout Views
- 24.6 Code Mode
- 24.7 Split Mode
- 24.8 Setting Attributes
- 24.9 Transforms
- 24.10 Tools Visibility Toggles
- 24.11 Converting Views
- 24.12 Displaying Sample Data
- 24.13 Creating a Custom Device Definition
- 24.14 Changing the Current Device
- 24.15 Layout Validation (Multi Preview)
- 24.16 Summary
- 25. A Guide to the Android ConstraintLayout
-
26. A Guide to using ConstraintLayout in Android Studio
- 26.1 Design and Layout Views
- 26.2 Autoconnect Mode
- 26.3 Inference Mode
- 26.4 Manipulating Constraints Manually
- 26.5 Adding Constraints in the Inspector
- 26.6 Viewing Constraints in the Attributes Window
- 26.7 Deleting Constraints
- 26.8 Adjusting Constraint Bias
- 26.9 Understanding ConstraintLayout Margins
- 26.10 The Importance of Opposing Constraints and Bias
- 26.11 Configuring Widget Dimensions
- 26.12 Design Time Tools Positioning
- 26.13 Adding Guidelines
- 26.14 Adding Barriers
- 26.15 Adding a Group
- 26.16 Working with the Flow Helper
- 26.17 Widget Group Alignment and Distribution
- 26.18 Converting other Layouts to ConstraintLayout
- 26.19 Summary
- 27. Working with ConstraintLayout Chains and Ratios in Android Studio
- 28. An Android Studio Layout Editor ConstraintLayout Tutorial
- 29. Manual XML Layout Design in Android Studio
-
30. Managing Constraints using Constraint Sets
- 30.1 Kotlin Code vs. XML Layout Files
- 30.2 Creating Views
- 30.3 View Attributes
-
30.4 Constraint Sets
- 30.4.1 Establishing Connections
- 30.4.2 Applying Constraints to a Layout
- 30.4.3 Parent Constraint Connections
- 30.4.4 Sizing Constraints
- 30.4.5 Constraint Bias
- 30.4.6 Alignment Constraints
- 30.4.7 Copying and Applying Constraint Sets
- 30.4.8 ConstraintLayout Chains
- 30.4.9 Guidelines
- 30.4.10 Removing Constraints
- 30.4.11 Scaling
- 30.4.12 Rotation
- 30.5 Summary
- 31. An Android ConstraintSet Tutorial
- 32. A Guide to using Apply Changes in Android Studio
- 33. An Overview and Example of Android Event Handling
- 34. Android Touch and Multi-touch Event Handling
- 35. Detecting Common Gestures using the Android Gesture Detector Class
-
36. Implementing Custom Gesture and Pinch Recognition on Android
- 36.1 The Android Gesture Builder Application
- 36.2 The GestureOverlayView Class
- 36.3 Detecting Gestures
- 36.4 Identifying Specific Gestures
- 36.5 Installing and Running the Gesture Builder Application
- 36.6 Creating a Gestures File
- 36.7 Creating the Example Project
- 36.8 Extracting the Gestures File from the SD Card
- 36.9 Adding the Gestures File to the Project
- 36.10 Designing the User Interface
- 36.11 Loading the Gestures File
- 36.12 Registering the Event Listener
- 36.13 Implementing the onGesturePerformed Method
- 36.14 Testing the Application
- 36.15 Configuring the GestureOverlayView
- 36.16 Intercepting Gestures
- 36.17 Detecting Pinch Gestures
- 36.18 A Pinch Gesture Example Project
- 36.19 Summary
- 37. An Introduction to Android Fragments
-
38. Using Fragments in Android Studio - An Example
- 38.1 About the Example Fragment Application
- 38.2 Creating the Example Project
- 38.3 Creating the First Fragment Layout
- 38.4 Adding the Second Fragment
- 38.5 Adding the Fragments to the Activity
- 38.6 Making the Toolbar Fragment Talk to the Activity
- 38.7 Making the Activity Talk to the Text Fragment
- 38.8 Testing the Application
- 38.9 Summary
- 39. Modern Android App Architecture with Jetpack
-
40. An Android Jetpack ViewModel Tutorial
- 40.1 About the Project
- 40.2 Creating the ViewModel Example Project
- 40.3 Reviewing the Project
- 40.4 Designing the Fragment Layout
- 40.5 Implementing the View Model
- 40.6 Associating the Fragment with the View Model
- 40.7 Modifying the Fragment
- 40.8 Accessing the ViewModel Data
- 40.9 Testing the Project
- 40.10 Summary
- 41. An Android Jetpack LiveData Tutorial
- 42. An Overview of Android Jetpack Data Binding
-
43. An Android Jetpack Data Binding Tutorial
- 43.1 Removing the Redundant Code
- 43.2 Enabling Data Binding
- 43.3 Adding the Layout Element
- 43.4 Adding the Data Element to Layout File
- 43.5 Working with the Binding Class
- 43.6 Assigning the ViewModel Instance to the Data Binding Variable
- 43.7 Adding Binding Expressions
- 43.8 Adding the Conversion Method
- 43.9 Adding a Listener Binding
- 43.10 Testing the App
- 43.11 Summary
- 44. An Android ViewModel Saved State Tutorial
- 45. Working with Android Lifecycle-Aware Components
- 46. An Android Jetpack Lifecycle Awareness Tutorial
- 47. An Overview of the Navigation Architecture Component
-
48. An Android Jetpack Navigation Component Tutorial
- 48.1 Creating the NavigationDemo Project
- 48.2 Adding Navigation to the Build Configuration
- 48.3 Creating the Navigation Graph Resource File
- 48.4 Declaring a Navigation Host
- 48.5 Adding Navigation Destinations
- 48.6 Designing the Destination Fragment Layouts
- 48.7 Adding an Action to the Navigation Graph
- 48.8 Implement the OnFragmentInteractionListener
- 48.9 Triggering the Action
- 48.10 Passing Data Using Safeargs
- 48.11 Summary
- 49. An Introduction to MotionLayout
-
50. An Android MotionLayout Editor Tutorial
- 50.1 Creating the MotionLayoutDemo Project
- 50.2 ConstraintLayout to MotionLayout Conversion
- 50.3 Configuring Start and End Constraints
- 50.4 Previewing the MotionLayout Animation
- 50.5 Adding an OnClick Gesture
- 50.6 Adding an Attribute Keyframe to the Transition
- 50.7 Adding a CustomAttribute to a Transition
- 50.8 Adding Position Keyframes
- 50.9 Summary
- 51. A MotionLayout KeyCycle Tutorial
-
52. Working with the Floating Action Button and Snackbar
- 52.1 The Material Design
- 52.2 The Design Library
- 52.3 The Floating Action Button (FAB)
- 52.4 The Snackbar
- 52.5 Creating the Example Project
- 52.6 Reviewing the Project
- 52.7 Removing Navigation Features
- 52.8 Changing the Floating Action Button
- 52.9 Adding the ListView to the Content Layout
- 52.10 Adding Items to the ListView
- 52.11 Adding an Action to the Snackbar
- 52.12 Summary
-
53. Creating a Tabbed Interface using the TabLayout Component
- 53.1 An Introduction to the ViewPager
- 53.2 An Overview of the TabLayout Component
- 53.3 Creating the TabLayoutDemo Project
- 53.4 Creating the First Fragment
- 53.5 Duplicating the Fragments
- 53.6 Adding the TabLayout and ViewPager
- 53.7 Creating the Pager Adapter
- 53.8 Performing the Initialization Tasks
- 53.9 Testing the Application
- 53.10 Customizing the TabLayout
- 53.11 Displaying Icon Tab Items
- 53.12 Summary
- 54. Working with the RecyclerView and CardView Widgets
-
55. An Android RecyclerView and CardView Tutorial
- 55.1 Creating the CardDemo Project
- 55.2 Modifying the Basic Activity Project
- 55.3 Designing the CardView Layout
- 55.4 Adding the RecyclerView
- 55.5 Adding the Image Files
- 55.6 Creating the RecyclerView Adapter
- 55.7 Initializing the RecyclerView Component
- 55.8 Testing the Application
- 55.9 Responding to Card Selections
- 55.10 Summary
- 56. A Layout Editor Sample Data Tutorial
- 57. Working with the AppBar and Collapsing Toolbar Layouts
-
58. An Android Studio Master/Detail Flow Tutorial
- 58.1 The Master/Detail Flow
- 58.2 Creating a Master/Detail Flow Activity
- 58.3 The Anatomy of the Master/Detail Flow Template
- 58.4 Modifying the Master/Detail Flow Template
- 58.5 Changing the Content Model
- 58.6 Changing the Detail Pane
- 58.7 Modifying the WebsiteDetailFragment Class
- 58.8 Modifying the WebsiteListActivity Class
- 58.9 Adding Manifest Permissions
- 58.10 Running the Application
- 58.11 Summary
- 59. An Overview of Android Intents
-
60. Android Explicit Intents – A Worked Example
- 60.1 Creating the Explicit Intent Example Application
- 60.2 Designing the User Interface Layout for MainActivity
- 60.3 Creating the Second Activity Class
- 60.4 Designing the User Interface Layout for ActivityB
- 60.5 Reviewing the Application Manifest File
- 60.6 Creating the Intent
- 60.7 Extracting Intent Data
- 60.8 Launching ActivityB as a Sub-Activity
- 60.9 Returning Data from a Sub-Activity
- 60.10 Testing the Application
- 60.11 Summary
-
61. Android Implicit Intents – A Worked Example
- 61.1 Creating the Android Studio Implicit Intent Example Project
- 61.2 Designing the User Interface
- 61.3 Creating the Implicit Intent
- 61.4 Adding a Second Matching Activity
- 61.5 Adding the Web View to the UI
- 61.6 Obtaining the Intent URL
- 61.7 Modifying the MyWebView Project Manifest File
- 61.8 Installing the MyWebView Package on a Device
- 61.9 Testing the Application
- 61.10 Summary
-
62. Android Broadcast Intents and Broadcast Receivers
- 62.1 An Overview of Broadcast Intents
- 62.2 An Overview of Broadcast Receivers
- 62.3 Obtaining Results from a Broadcast
- 62.4 Sticky Broadcast Intents
- 62.5 The Broadcast Intent Example
- 62.6 Creating the Example Application
- 62.7 Creating and Sending the Broadcast Intent
- 62.8 Creating the Broadcast Receiver
- 62.9 Registering the Broadcast Receiver
- 62.10 Testing the Broadcast Example
- 62.11 Listening for System Broadcasts
- 62.12 Summary
- 63. A Basic Overview of Threads and AsyncTasks
-
64. An Introduction to Kotlin Coroutines
- 64.1 What are Coroutines?
- 64.2 Threads vs Coroutines
- 64.3 Coroutine Scope
- 64.4 Suspend Functions
- 64.5 Coroutine Dispatchers
- 64.6 Coroutine Builders
- 64.7 Jobs
- 64.8 Coroutines – Suspending and Resuming
- 64.9 Returning Results from a Coroutine
- 64.10 Using withContext
- 64.11 Coroutine Channel Communication
- 64.12 Summary
- 65. An Android Kotlin Coroutines Tutorial
- 66. An Overview of Android Started and Bound Services
-
67. Implementing an Android Started Service – A Worked Example
- 67.1 Creating the Example Project
- 67.2 Creating the Service Class
- 67.3 Adding the Service to the Manifest File
- 67.4 Starting the Service
- 67.5 Testing the IntentService Example
- 67.6 Using the Service Class
- 67.7 Creating the New Service
- 67.8 Modifying the User Interface
- 67.9 Running the Application
- 67.10 Using a Coroutine for the Service Task
- 67.11 Summary
-
68. Android Local Bound Services – A Worked Example
- 68.1 Understanding Bound Services
- 68.2 Bound Service Interaction Options
- 68.3 An Android Studio Local Bound Service Example
- 68.4 Adding a Bound Service to the Project
- 68.5 Implementing the Binder
- 68.6 Binding the Client to the Service
- 68.7 Completing the Example
- 68.8 Testing the Application
- 68.9 Summary
-
69. Android Remote Bound Services – A Worked Example
- 69.1 Client to Remote Service Communication
- 69.2 Creating the Example Application
- 69.3 Designing the User Interface
- 69.4 Implementing the Remote Bound Service
- 69.5 Configuring a Remote Service in the Manifest File
- 69.6 Launching and Binding to the Remote Service
- 69.7 Sending a Message to the Remote Service
- 69.8 Summary
-
70. An Android Notifications Tutorial
- 70.1 An Overview of Notifications
- 70.2 Creating the NotifyDemo Project
- 70.3 Designing the User Interface
- 70.4 Creating the Second Activity
- 70.5 Creating a Notification Channel
- 70.6 Creating and Issuing a Basic Notification
- 70.7 Launching an Activity from a Notification
- 70.8 Adding Actions to a Notification
- 70.9 Bundled Notifications
- 70.10 Summary
- 71. An Android Direct Reply Notification Tutorial
-
72. Foldable Devices and Multi-Window Support
- 72.1 Foldables and Multi-Window Support
- 72.2 Using a Foldable Emulator
- 72.3 Entering Multi-Window Mode
- 72.4 Enabling and using Freeform Support
- 72.5 Checking for Freeform Support
- 72.6 Enabling Multi-Window Support in an App
- 72.7 Specifying Multi-Window Attributes
- 72.8 Detecting Multi-Window Mode in an Activity
- 72.9 Receiving Multi-Window Notifications
- 72.10 Launching an Activity in Multi-Window Mode
- 72.11 Configuring Freeform Activity Size and Position
- 72.12 Summary
-
73. An Overview of Android SQLite Databases
- 73.1 Understanding Database Tables
- 73.2 Introducing Database Schema
- 73.3 Columns and Data Types
- 73.4 Database Rows
- 73.5 Introducing Primary Keys
- 73.6 What is SQLite?
- 73.7 Structured Query Language (SQL)
- 73.8 Trying SQLite on an Android Virtual Device (AVD)
- 73.9 The Android Room Persistence Library
- 73.10 Summary
- 74. The Android Room Persistence Library
-
75. An Android TableLayout and TableRow Tutorial
- 75.1 The TableLayout and TableRow Layout Views
- 75.2 Creating the Room Database Project
- 75.3 Converting to a LinearLayout
- 75.4 Adding the TableLayout to the User Interface
- 75.5 Configuring the TableRows
- 75.6 Adding the Button Bar to the Layout
- 75.7 Adding the RecyclerView
- 75.8 Adjusting the Layout Margins
- 75.9 Summary
-
76. An Android Room Database and Repository Tutorial
- 76.1 About the RoomDemo Project
- 76.2 Modifying the Build Configuration
- 76.3 Building the Entity
- 76.4 Creating the Data Access Object
- 76.5 Adding the Room Database
- 76.6 Adding the Repository
- 76.7 Modifying the ViewModel
- 76.8 Creating the Product Item Layout
- 76.9 Adding the RecyclerView Adapter
- 76.10 Preparing the Main Fragment
- 76.11 Adding the Button Listeners
- 76.12 Adding LiveData Observers
- 76.13 Initializing the RecyclerView
- 76.14 Testing the RoomDemo App
- 76.15 Using the Database Inspector
- 76.16 Summary
- 77. Accessing Cloud Storage using the Android Storage Access Framework
-
78. An Android Storage Access Framework Example
- 78.1 About the Storage Access Framework Example
- 78.2 Creating the Storage Access Framework Example
- 78.3 Designing the User Interface
- 78.4 Declaring Request Codes
- 78.5 Creating a New Storage File
- 78.6 The onActivityResult() Method
- 78.7 Saving to a Storage File
- 78.8 Opening and Reading a Storage File
- 78.9 Testing the Storage Access Application
- 78.10 Summary
-
79. Video Playback on Android using the VideoView and MediaController Classes
- 79.1 Introducing the Android VideoView Class
- 79.2 Introducing the Android MediaController Class
- 79.3 Creating the Video Playback Example
- 79.4 Designing the VideoPlayer Layout
- 79.5 Downloading the Video File
- 79.6 Configuring the VideoView
- 79.7 Adding the MediaController to the Video View
- 79.8 Setting up the onPreparedListener
- 79.9 Summary
- 80. Android Picture-in-Picture Mode
- 81. An Android Picture-in-Picture Tutorial
- 82. Making Runtime Permission Requests in Android
-
83. Android Audio Recording and Playback using MediaPlayer and MediaRecorder
- 83.1 Playing Audio
- 83.2 Recording Audio and Video using the MediaRecorder Class
- 83.3 About the Example Project
- 83.4 Creating the AudioApp Project
- 83.5 Designing the User Interface
- 83.6 Checking for Microphone Availability
- 83.7 Performing the Activity Initialization
- 83.8 Implementing the recordAudio() Method
- 83.9 Implementing the stopAudio() Method
- 83.10 Implementing the playAudio() method
- 83.11 Configuring and Requesting Permissions
- 83.12 Testing the Application
- 83.13 Summary
- 84. Printing with the Android Printing Framework
-
85. An Android HTML and Web Content Printing Example
- 85.1 Creating the HTML Printing Example Application
- 85.2 Printing Dynamic HTML Content
- 85.3 Creating the Web Page Printing Example
- 85.4 Removing the Floating Action Button
- 85.5 Removing Navigation Features
- 85.6 Designing the User Interface Layout
- 85.7 Loading the Web Page into the WebView
- 85.8 Adding the Print Menu Option
- 85.9 Summary
-
86. A Guide to Android Custom Document Printing
- 86.1 An Overview of Android Custom Document Printing
- 86.2 Preparing the Custom Document Printing Project
- 86.3 Creating the Custom Print Adapter
- 86.4 Implementing the onLayout() Callback Method
- 86.5 Implementing the onWrite() Callback Method
- 86.6 Checking a Page is in Range
- 86.7 Drawing the Content on the Page Canvas
- 86.8 Starting the Print Job
- 86.9 Testing the Application
- 86.10 Summary
- 87. An Introduction to Android App Links
- 88. An Android Studio App Links Tutorial
- 89. A Guide to the Android Studio Profiler
-
90. An Android Biometric Authentication Tutorial
- 90.1 An Overview of Biometric Authentication
- 90.2 Creating the Biometric Authentication Project
- 90.3 Configuring Device Fingerprint Authentication
- 90.4 Adding the Biometric Permission to the Manifest File
- 90.5 Designing the User Interface
- 90.6 Adding a Toast Convenience Method
- 90.7 Checking the Security Settings
- 90.8 Configuring the Authentication Callbacks
- 90.9 Adding the CancellationSignal
- 90.10 Starting the Biometric Prompt
- 90.11 Testing the Project
- 90.12 Summary
-
91. Creating, Testing and Uploading an Android App Bundle
- 91.1 The Release Preparation Process
- 91.2 Android App Bundles
- 91.3 Register for a Google Play Developer Console Account
- 91.4 Configuring the App in the Console
- 91.5 Enabling Google Play App Signing
- 91.6 Creating a Keystore File
- 91.7 Creating the Android App Bundle
- 91.8 Generating Test APK Files
- 91.9 Uploading the App Bundle to the Google Play Developer Console
- 91.10 Exploring the App Bundle
- 91.11 Managing Testers
- 91.12 Rolling the App Out for Testing
- 91.13 Uploading New App Bundle Revisions
- 91.14 Analyzing the App Bundle File
- 91.15 Summary
- 92. An Overview of Android Dynamic Feature Modules
-
93. An Android Studio Dynamic Feature Tutorial
- 93.1 Creating the DynamicFeature Project
- 93.2 Adding Dynamic Feature Support to the Project
- 93.3 Designing the Base Activity User Interface
- 93.4 Adding the Dynamic Feature Module
- 93.5 Reviewing the Dynamic Feature Module
- 93.6 Adding the Dynamic Feature Activity
- 93.7 Implementing the launchIntent() Method
- 93.8 Uploading the App Bundle for Testing
- 93.9 Implementing the installFeature() Method
- 93.10 Adding the Update Listener
- 93.11 Handling Large Downloads
- 93.12 Using Deferred Installation
- 93.13 Removing a Dynamic Module
- 93.14 Summary
- 94. An Overview of Gradle in Android Studio
- Index
Product information
- Title: Android Studio 4.1 Development Essentials – Kotlin Edition
- Author(s):
- Release date: May 2021
- Publisher(s): Packt Publishing
- ISBN: 9781801815987
You might also like
book
Android Studio 4.0 Development Essentials - Kotlin Edition
Upgrade your Android Studio skills and confidently create, test, and upload Android applications using Kotlin Key …
book
Android Studio 3.6 Development Essentials - Kotlin Edition
Update your Android Studio skills and build modern Android applications using Kotlin Key Features Set up …
book
Android Studio 4.1 Development Essentials – Java Edition
Acquire the skills necessary to develop Android apps using the Android Studio integrated development environment and …
book
Android Studio 4.2 Development Essentials - Kotlin Edition
A hands-on guide to developing Android applications using Android Studio 4.2 and Kotlin Key Features Design …