Book description
Update your Android Studio skills and build modern Android applications using Kotlin
Key Features
- Set up Android development and testing environments
- Gain core knowledge of the Kotlin programming language
- Study the design of Android applications and its user interfaces in-depth
Book Description
The popularity of Kotlin as an Android-compatible language keeps growing every day. This book will help you build your own Android applications using Kotlin.
Android Studio 3.6 Development Essentials – Kotlin Edition first shows you how to install Android development and test environments on different operating systems. Next, you will create an Android app and a virtual device in Android Studio and install an Android application on an emulator. You will test apps on emulators and on physical Android devices. Next, you'll explore the features of Android Studio 3.6, Android 10, and Android architecture. The focus then shifts to the Kotlin language. You'll be given an overview of Kotlin, and practice converting code from Java to Kotlin. You'll also explore data types, operators, expressions, loops, functions, and the basics of OOP in Kotlin. The book will then cover Android Jetpack and how to create an example app project using the ViewModel component. You'll study advanced topics such as views and widget implementation, multi-window support integration, and biometric authentication. Finally, you will learn to upload your app to the Google Play Console and handle the build process with Gradle.
By the end of this book, you will have gained the knowledge and skills required to develop powerful Android applications using Kotlin.
What you will learn
- Build reliable apps with less error-prone code using Kotlin
- Use Java-based Android libraries in Kotlin
- Reduce the amount of code using Android Jetpack
- Explore unique ways to handle single and multi-touch events
- Use Gesture libraries to implement gesture and pinch recognition systems
- Increase your app visibility with app links
Who this book is for
This book is ideal for anyone who wants to learn how to develop powerful Android Applications using Kotlin and Android Studio 3.6. A basic understanding of Kotlin and Android SDK is recommended.
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
-
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 Stopping a Running Application
- 4.6 Supporting Dark Theme
- 4.7 AVD Command-line Creation
- 4.8 Android Virtual Device Configuration Files
- 4.9 Moving and Renaming an Android Virtual Device
- 4.10 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
- 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 Converting Views
- 24.10 Displaying Sample Data
- 24.11 Creating a Custom Device Definition
- 24.12 Changing the Current Device
- 24.13 Multi Preview
- 24.14 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 Adding Guidelines
- 26.13 Adding Barriers
- 26.14 Widget Group Alignment and Distribution
- 26.15 Converting other Layouts to ConstraintLayout
- 26.16 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 Creating the First Fragment Class
- 38.5 Creating the Second Fragment Layout
- 38.6 Adding the Fragments to the Activity
- 38.7 Making the Toolbar Fragment Talk to the Activity
- 38.8 Making the Activity Talk to the Text Fragment
- 38.9 Testing the Application
- 38.10 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. Creating and Managing Overflow Menus on Android
- 49.1 The Overflow Menu
- 49.2 Creating an Overflow Menu
- 49.3 Displaying an Overflow Menu
- 49.4 Responding to Menu Item Selections
- 49.5 Creating Checkable Item Groups
- 49.6 Menus and the Android Studio Menu Editor
- 49.7 Creating the Example Project
- 49.8 Designing the Menu
- 49.9 Modifying the onOptionsItemSelected() Method
- 49.10 Testing the Application
- 49.11 Summary
-
50. Animating User Interfaces with the Android Transitions Framework
- 50.1 Introducing Android Transitions and Scenes
- 50.2 Using Interpolators with Transitions
- 50.3 Working with Scene Transitions
- 50.4 Custom Transitions and TransitionSets in Code
- 50.5 Custom Transitions and TransitionSets in XML
- 50.6 Working with Interpolators
- 50.7 Creating a Custom Interpolator
- 50.8 Using the beginDelayedTransition Method
- 50.9 Summary
- 51. An Android Transition Tutorial using beginDelayedTransition
-
52. Implementing Android Scene Transitions – A Tutorial
- 52.1 An Overview of the Scene Transition Project
- 52.2 Creating the Android Studio SceneTransitions Project
- 52.3 Identifying and Preparing the Root Container
- 52.4 Designing the First Scene
- 52.5 Designing the Second Scene
- 52.6 Entering the First Scene
- 52.7 Loading Scene 2
- 52.8 Implementing the Transitions
- 52.9 Adding the Transition File
- 52.10 Loading and Using the Transition Set
- 52.11 Configuring Additional Transitions
- 52.12 Summary
-
53. Working with the Floating Action Button and Snackbar
- 53.1 The Material Design
- 53.2 The Design Library
- 53.3 The Floating Action Button (FAB)
- 53.4 The Snackbar
- 53.5 Creating the Example Project
- 53.6 Reviewing the Project
- 53.7 Removing Navigation Features
- 53.8 Changing the Floating Action Button
- 53.9 Adding the ListView to the Content Layout
- 53.10 Adding Items to the ListView
- 53.11 Adding an Action to the Snackbar
- 53.12 Summary
-
54. Creating a Tabbed Interface using the TabLayout Component
- 54.1 An Introduction to the ViewPager
- 54.2 An Overview of the TabLayout Component
- 54.3 Creating the TabLayoutDemo Project
- 54.4 Creating the First Fragment
- 54.5 Duplicating the Fragments
- 54.6 Adding the TabLayout and ViewPager
- 54.7 Creating the Pager Adapter
- 54.8 Performing the Initialization Tasks
- 54.9 Testing the Application
- 54.10 Customizing the TabLayout
- 54.11 Displaying Icon Tab Items
- 54.12 Summary
- 55. Working with the RecyclerView and CardView Widgets
-
56. An Android RecyclerView and CardView Tutorial
- 56.1 Creating the CardDemo Project
- 56.2 Modifying the Basic Activity Project
- 56.3 Designing the CardView Layout
- 56.4 Adding the RecyclerView
- 56.5 Creating the RecyclerView Adapter
- 56.6 Adding the Image Files
- 56.7 Initializing the RecyclerView Component
- 56.8 Testing the Application
- 56.9 Responding to Card Selections
- 56.10 Summary
- 57. A Layout Editor Sample Data Tutorial
- 58. Working with the AppBar and Collapsing Toolbar Layouts
-
59. An Android Studio Master/Detail Flow Tutorial
- 59.1 The Master/Detail Flow
- 59.2 Creating a Master/Detail Flow Activity
- 59.3 The Anatomy of the Master/Detail Flow Template
- 59.4 Modifying the Master/Detail Flow Template
- 59.5 Changing the Content Model
- 59.6 Changing the Detail Pane
- 59.7 Modifying the WebsiteDetailFragment Class
- 59.8 Modifying the WebsiteListActivity Class
- 59.9 Adding Manifest Permissions
- 59.10 Running the Application
- 59.11 Summary
- 60. An Overview of Android Intents
-
61. Android Explicit Intents – A Worked Example
- 61.1 Creating the Explicit Intent Example Application
- 61.2 Designing the User Interface Layout for MainActivity
- 61.3 Creating the Second Activity Class
- 61.4 Designing the User Interface Layout for ActivityB
- 61.5 Reviewing the Application Manifest File
- 61.6 Creating the Intent
- 61.7 Extracting Intent Data
- 61.8 Launching ActivityB as a Sub-Activity
- 61.9 Returning Data from a Sub-Activity
- 61.10 Testing the Application
- 61.11 Summary
-
62. Android Implicit Intents – A Worked Example
- 62.1 Creating the Android Studio Implicit Intent Example Project
- 62.2 Designing the User Interface
- 62.3 Creating the Implicit Intent
- 62.4 Adding a Second Matching Activity
- 62.5 Adding the Web View to the UI
- 62.6 Obtaining the Intent URL
- 62.7 Modifying the MyWebView Project Manifest File
- 62.8 Installing the MyWebView Package on a Device
- 62.9 Testing the Application
- 62.10 Summary
-
63. Android Broadcast Intents and Broadcast Receivers
- 63.1 An Overview of Broadcast Intents
- 63.2 An Overview of Broadcast Receivers
- 63.3 Obtaining Results from a Broadcast
- 63.4 Sticky Broadcast Intents
- 63.5 The Broadcast Intent Example
- 63.6 Creating the Example Application
- 63.7 Creating and Sending the Broadcast Intent
- 63.8 Creating the Broadcast Receiver
- 63.9 Registering the Broadcast Receiver
- 63.10 Testing the Broadcast Example
- 63.11 Listening for System Broadcasts
- 63.12 Summary
- 64. A Basic Overview of Threads and AsyncTasks
-
65. An Introduction to Kotlin Coroutines
- 65.1 What are Coroutines?
- 65.2 Threads vs Coroutines
- 65.3 Coroutine Scope
- 65.4 Suspend Functions
- 65.5 Coroutine Dispatchers
- 65.6 Coroutine Builders
- 65.7 Jobs
- 65.8 Coroutines – Suspending and Resuming
- 65.9 Returning Results from a Coroutine
- 65.10 Using withContext
- 65.11 Coroutine Channel Communication
- 65.12 Summary
- 66. An Android Kotlin Coroutines Tutorial
- 67. An Overview of Android Started and Bound Services
-
68. Implementing an Android Started Service – A Worked Example
- 68.1 Creating the Example Project
- 68.2 Creating the Service Class
- 68.3 Adding the Service to the Manifest File
- 68.4 Starting the Service
- 68.5 Testing the IntentService Example
- 68.6 Using the Service Class
- 68.7 Creating the New Service
- 68.8 Modifying the User Interface
- 68.9 Running the Application
- 68.10 Using a Coroutine for the Service Task
- 68.11 Summary
-
69. Android Local Bound Services – A Worked Example
- 69.1 Understanding Bound Services
- 69.2 Bound Service Interaction Options
- 69.3 An Android Studio Local Bound Service Example
- 69.4 Adding a Bound Service to the Project
- 69.5 Implementing the Binder
- 69.6 Binding the Client to the Service
- 69.7 Completing the Example
- 69.8 Testing the Application
- 69.9 Summary
-
70. Android Remote Bound Services – A Worked Example
- 70.1 Client to Remote Service Communication
- 70.2 Creating the Example Application
- 70.3 Designing the User Interface
- 70.4 Implementing the Remote Bound Service
- 70.5 Configuring a Remote Service in the Manifest File
- 70.6 Launching and Binding to the Remote Service
- 70.7 Sending a Message to the Remote Service
- 70.8 Summary
-
71. An Android Notifications Tutorial
- 71.1 An Overview of Notifications
- 71.2 Creating the NotifyDemo Project
- 71.3 Designing the User Interface
- 71.4 Creating the Second Activity
- 71.5 Creating a Notification Channel
- 71.6 Creating and Issuing a Basic Notification
- 71.7 Launching an Activity from a Notification
- 71.8 Adding Actions to a Notification
- 71.9 Bundled Notifications
- 71.10 Summary
- 72. An Android Direct Reply Notification Tutorial
-
73. Foldable Devices and Multi-Window Support
- 73.1 Foldables and Multi-Window Support
- 73.2 Using a Foldable Emulator
- 73.3 Entering Multi-Window Mode
- 73.4 Enabling and using Freeform Support
- 73.5 Checking for Freeform Support
- 73.6 Enabling Multi-Window Support in an App
- 73.7 Specifying Multi-Window Attributes
- 73.8 Detecting Multi-Window Mode in an Activity
- 73.9 Receiving Multi-Window Notifications
- 73.10 Launching an Activity in Multi-Window Mode
- 73.11 Configuring Freeform Activity Size and Position
- 73.12 Summary
-
74. An Overview of Android SQLite Databases
- 74.1 Understanding Database Tables
- 74.2 Introducing Database Schema
- 74.3 Columns and Data Types
- 74.4 Database Rows
- 74.5 Introducing Primary Keys
- 74.6 What is SQLite?
- 74.7 Structured Query Language (SQL)
- 74.8 Trying SQLite on an Android Virtual Device (AVD)
- 74.9 The Android Room Persistence Library
- 74.10 Summary
- 75. The Android Room Persistence Library
-
76. An Android TableLayout and TableRow Tutorial
- 76.1 The TableLayout and TableRow Layout Views
- 76.2 Creating the Room Database Project
- 76.3 Converting to a LinearLayout
- 76.4 Adding the TableLayout to the User Interface
- 76.5 Configuring the TableRows
- 76.6 Adding the Button Bar to the Layout
- 76.7 Adding the RecyclerView
- 76.8 Adjusting the Layout Margins
- 76.9 Summary
-
77. An Android Room Database and Repository Tutorial
- 77.1 About the RoomDemo Project
- 77.2 Modifying the Build Configuration
- 77.3 Building the Entity
- 77.4 Creating the Data Access Object
- 77.5 Adding the Room Database
- 77.6 Adding the Repository
- 77.7 Modifying the ViewModel
- 77.8 Creating the Product Item Layout
- 77.9 Adding the RecyclerView Adapter
- 77.10 Preparing the Main Fragment
- 77.11 Adding the Button Listeners
- 77.12 Adding LiveData Observers
- 77.13 Initializing the RecyclerView
- 77.14 Testing the RoomDemo App
- 77.15 Summary
- 78. Accessing Cloud Storage using the Android Storage Access Framework
-
79. An Android Storage Access Framework Example
- 79.1 About the Storage Access Framework Example
- 79.2 Creating the Storage Access Framework Example
- 79.3 Designing the User Interface
- 79.4 Declaring Request Codes
- 79.5 Creating a New Storage File
- 79.6 The onActivityResult() Method
- 79.7 Saving to a Storage File
- 79.8 Opening and Reading a Storage File
- 79.9 Testing the Storage Access Application
- 79.10 Summary
-
80. Implementing Video Playback on Android using the VideoView and MediaController Classes
- 80.1 Introducing the Android VideoView Class
- 80.2 Introducing the Android MediaController Class
- 80.3 Creating the Video Playback Example
- 80.4 Designing the VideoPlayer Layout
- 80.5 Downloading the Video File
- 80.6 Configuring the VideoView
- 80.7 Adding the MediaController to the Video View
- 80.8 Setting up the onPreparedListener
- 80.9 Summary
- 81. Android Picture-in-Picture Mode
- 82. An Android Picture-in-Picture Tutorial
- 83. Making Runtime Permission Requests in Android
-
84. Android Audio Recording and Playback using MediaPlayer and MediaRecorder
- 84.1 Playing Audio
- 84.2 Recording Audio and Video using the MediaRecorder Class
- 84.3 About the Example Project
- 84.4 Creating the AudioApp Project
- 84.5 Designing the User Interface
- 84.6 Checking for Microphone Availability
- 84.7 Performing the Activity Initialization
- 84.8 Implementing the recordAudio() Method
- 84.9 Implementing the stopAudio() Method
- 84.10 Implementing the playAudio() method
- 84.11 Configuring and Requesting Permissions
- 84.12 Testing the Application
- 84.13 Summary
-
85. Working with the Google Maps Android API in Android Studio
- 85.1 The Elements of the Google Maps Android API
- 85.2 Creating the Google Maps Project
- 85.3 Obtaining Your Developer Signature
- 85.4 Adding the Apache HTTP Legacy Library Requirement
- 85.5 Testing the Application
- 85.6 Understanding Geocoding and Reverse Geocoding
- 85.7 Adding a Map to an Application
- 85.8 Requesting Current Location Permission
- 85.9 Displaying the User’s Current Location
- 85.10 Changing the Map Type
- 85.11 Displaying Map Controls to the User
- 85.12 Handling Map Gesture Interaction
- 85.13 Creating Map Markers
- 85.14 Controlling the Map Camera
- 85.15 Summary
- 86. Printing with the Android Printing Framework
-
87. An Android HTML and Web Content Printing Example
- 87.1 Creating the HTML Printing Example Application
- 87.2 Printing Dynamic HTML Content
- 87.3 Creating the Web Page Printing Example
- 87.4 Removing the Floating Action Button
- 87.5 Removing Navigation Features
- 87.6 Designing the User Interface Layout
- 87.7 Loading the Web Page into the WebView
- 87.8 Adding the Print Menu Option
- 87.9 Summary
-
88. A Guide to Android Custom Document Printing
- 88.1 An Overview of Android Custom Document Printing
- 88.2 Preparing the Custom Document Printing Project
- 88.3 Creating the Custom Print Adapter
- 88.4 Implementing the onLayout() Callback Method
- 88.5 Implementing the onWrite() Callback Method
- 88.6 Checking a Page is in Range
- 88.7 Drawing the Content on the Page Canvas
- 88.8 Starting the Print Job
- 88.9 Testing the Application
- 88.10 Summary
- 89. An Introduction to Android App Links
- 90. An Android Studio App Links Tutorial
- 91. A Guide to the Android Studio Profiler
-
92. An Android Biometric Authentication Tutorial
- 92.1 An Overview of Biometric Authentication
- 92.2 Creating the Biometric Authentication Project
- 92.3 Configuring Device Fingerprint Authentication
- 92.4 Adding the Biometric Permission to the Manifest File
- 92.5 Designing the User Interface
- 92.6 Adding a Toast Convenience Method
- 92.7 Checking the Security Settings
- 92.8 Configuring the Authentication Callbacks
- 92.9 Adding the CancellationSignal
- 92.10 Starting the Biometric Prompt
- 92.11 Testing the Project
- 92.12 Summary
-
93. Creating, Testing and Uploading an Android App Bundle
- 93.1 The Release Preparation Process
- 93.2 Android App Bundles
- 93.3 Register for a Google Play Developer Console Account
- 93.4 Configuring the App in the Console
- 93.5 Enabling Google Play App Signing
- 93.6 Creating a Keystore File
- 93.7 Creating the Android App Bundle
- 93.8 Generating Test APK Files
- 93.9 Uploading the App Bundle to the Google Play Developer Console
- 93.10 Exploring the App Bundle
- 93.11 Managing Testers
- 93.12 Uploading New App Bundle Revisions
- 93.13 Analyzing the App Bundle File
- 93.14 Enabling Google Play Signing for an Existing App
- 93.15 Summary
- 94. An Overview of Android Dynamic Feature Modules
-
95. An Android Studio Dynamic Feature Tutorial
- 95.1 Creating the DynamicFeature Project
- 95.2 Adding Dynamic Feature Support to the Project
- 95.3 Designing the Base Activity User Interface
- 95.4 Adding the Dynamic Feature Module
- 95.5 Reviewing the Dynamic Feature Module
- 95.6 Adding the Dynamic Feature Activity
- 95.7 Implementing the launchIntent() Method
- 95.8 Uploading the App Bundle for Testing
- 95.9 Implementing the installFeature() Method
- 95.10 Adding the Update Listener
- 95.11 Handling Large Downloads
- 95.12 Using Deferred Installation
- 95.13 Removing a Dynamic Module
- 95.14 Summary
- 96. An Overview of Gradle in Android Studio
- Index
Product information
- Title: Android Studio 3.6 Development Essentials - Kotlin Edition
- Author(s):
- Release date: April 2020
- Publisher(s): Packt Publishing
- ISBN: 9781800567665
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 4.2 Development Essentials - Kotlin Edition
A hands-on guide to developing Android applications using Android Studio 4.2 and Kotlin Key Features Design …
book
Android Studio 4.1 Development Essentials – Kotlin Edition
Acquire the skills necessary to develop Android apps using the Android Studio integrated development environment and …
book
Android Studio 3.6 Development Essentials - Java Edition
Update your Android studio skills and build modern Android applications using Java Key Features Develop a …