Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Android Studio 4.1 Development Essentials – Kotlin Edition
Android Studio 4.1 Development Essentials – Kotlin Edition

Android Studio 4.1 Development Essentials – Kotlin Edition: Developing Android 11 Apps Using Android Studio 4.1, Kotlin, and Android Jetpack

By Neil Smyth
S$48.99 S$33.99
Book May 2021 822 pages 1st Edition
eBook
S$48.99 S$33.99
Print
S$60.99
Subscription
Free Trial
eBook
S$48.99 S$33.99
Print
S$60.99
Subscription
Free Trial

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 Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Buy Now

Product Details


Publication date : May 14, 2021
Length 822 pages
Edition : 1st Edition
Language : English
ISBN-13 : 9781801815987
Category :
Table of content icon View table of contents Preview book icon Preview Book

Android Studio 4.1 Development Essentials – Kotlin Edition

2. Setting up an Android Studio Development Environment

Before any work can begin on the development of an Android application, the first step is to configure a computer system to act as the development platform. This involves a number of steps consisting of installing the Android Studio Integrated Development Environment (IDE) which also includes the Android Software Development Kit (SDK), the Kotlin plug-in and OpenJDK Java development environment.

This chapter will cover the steps necessary to install the requisite components for Android application development on Windows, macOS and Linux based systems.

2.1 System Requirements

Android application development may be performed on any of the following system types:

Windows 7/8/10 (32-bit or 64-bit though the Android emulator will only run on 64-bit systems)

macOS 10.10 or later (Intel based systems only)

ChromeOS device with Intel i5 or higher and minimum 8GB of RAM

Linux systems with version 2.19 or later of GNU C Library (glibc)

Minimum of 4GB of RAM (8GB is preferred)

Approximately 4GB of available disk space

1280 x 800 minimum screen resolution

2.2 Downloading the Android Studio Package

Most of the work involved in developing applications for Android will be performed using the Android Studio environment. The content and examples in this book were created based on Android Studio version 4.1 using the Android 11.0 (Q) API 30 SDK which, at the time writing are the current versions.

Android Studio is, however, subject to frequent updates so a newer version may have been released since this book was published.

The latest release of Android Studio may be downloaded from the primary download page which can be found at the following URL:

https://developer.android.com/studio/index.html

If this page provides instructions for downloading a newer version of Android Studio it is important to note that there may be some minor differences between this book and the software. A web search for Android Studio 4.1 should provide the option to download the older version in the event that these differences become a problem. Alternatively, visit the following web page to find Android Studio 4.1 in the archives:

https://developer.android.com/studio/archive

2.3 Installing Android Studio

Once downloaded, the exact steps to install Android Studio differ depending on the operating system on which the installation is being performed.

2.3.1 Installation on Windows

Locate the downloaded Android Studio installation executable file (named android-studio-ide-<version>-windows.exe) in a Windows Explorer window and double-click on it to start the installation process, clicking the Yes button in the User Account Control dialog if it appears.

Once the Android Studio setup wizard appears, work through the various screens to configure the installation to meet your requirements in terms of the file system location into which Android Studio should be installed and whether or not it should be made available to other users of the system. When prompted to select the components to install, make sure that the Android Studio and Android Virtual Device options are all selected.

Although there are no strict rules on where Android Studio should be installed on the system, the remainder of this book will assume that the installation was performed into C:\Program Files\Android\Android Studio and that the Android SDK packages have been installed into the user’s AppData\Local\Android\sdk sub-folder. Once the options have been configured, click on the Install button to begin the installation process.

On versions of Windows with a Start menu, the newly installed Android Studio can be launched from the entry added to that menu during the installation. The executable may be pinned to the task bar for easy access by navigating to the Android Studio\bin directory, right-clicking on the executable and selecting the Pin to Taskbar menu option. Note that the executable is provided in 32-bit (studio) and 64-bit (studio64) executable versions. If you are running a 32-bit system be sure to use the studio executable.

2.3.2 Installation on macOS

Android Studio for macOS is downloaded in the form of a disk image (.dmg) file. Once the android-studio-ide-<version>-mac.dmg file has been downloaded, locate it in a Finder window and double-click on it to open it as shown in Figure 2-1:

Figure 2-1

To install the package, simply drag the Android Studio icon and drop it onto the Applications folder. The Android Studio package will then be installed into the Applications folder of the system, a process which will typically take a few minutes to complete.

To launch Android Studio, locate the executable in the Applications folder using a Finder window and double-click on it.

For future easier access to the tool, drag the Android Studio icon from the Finder window and drop it onto the dock.

2.3.3 Installation on Linux

Having downloaded the Linux Android Studio package, open a terminal window, change directory to the location where Android Studio is to be installed and execute the following command:

unzip /<path to package>/android-studio-ide-<version>-linux.zip

Note that the Android Studio bundle will be installed into a sub-directory named android-studio. Assuming, therefore, that the above command was executed in /home/demo, the software packages will be unpacked into /home/demo/android-studio.

To launch Android Studio, open a terminal window, change directory to the android-studio/bin sub-directory and execute the following command:

./studio.sh

When running on a 64-bit Linux system, it will be necessary to install some 32-bit support libraries before Android Studio will run. On Ubuntu these libraries can be installed using the following command:

sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386

On Red Hat and Fedora based 64-bit systems, use the following command:

sudo yum install zlib.i686 ncurses-libs.i686 bzip2-libs.i686

2.4 The Android Studio Setup Wizard

The first time that Android Studio is launched after being installed, a dialog will appear providing the option to import settings from a previous Android Studio version. If you have settings from a previous version and would like to import them into the latest installation, select the appropriate option and location. Alternatively, indicate that you do not need to import any previous settings and click on the OK button to proceed.

Next, the setup wizard may appear as shown in Figure 2-2 though this dialog does not appear on all platforms:

Figure 2-2

If the wizard appears, click on the Next button, choose the Standard installation option and click on Next once again.

Android Studio will proceed to download and configure the latest Android SDK and some additional components and packages. Once this process has completed, click on the Finish button in the Downloading Components dialog at which point the Welcome to Android Studio screen should then appear:

Figure 2-3

2.5 Installing Additional Android SDK Packages

The steps performed so far have installed Java, the Android Studio IDE and the current set of default Android SDK packages. Before proceeding, it is worth taking some time to verify which packages are installed and to install any missing or updated packages.

This task can be performed using the Android SDK Settings screen, which may be launched from within the Android Studio tool by selecting the Configure -> SDK Manager option from within the Android Studio welcome dialog. Once invoked, the Android SDK screen of the default settings dialog will appear as shown in Figure 2-4:

Figure 2-4

Immediately after installing Android Studio for the first time it is likely that only the latest released version of the Android SDK has been installed. To install older versions of the Android SDK simply select the checkboxes corresponding to the versions and click on the Apply button.

It is also possible that updates will be listed as being available for the latest SDK. To access detailed information about the packages that are available for update, enable the Show Package Details option located in the lower right-hand corner of the screen. This will display information similar to that shown in Figure 2-5:

Figure 2-5

The above figure highlights the availability of an update. To install the updates, enable the checkbox to the left of the item name and click on the Apply button.

In addition to the Android SDK packages, a number of tools are also installed for building Android applications. To view the currently installed packages and check for updates, remain within the SDK settings screen and select the SDK Tools tab as shown in Figure 2-6:

Figure 2-6

Within the Android SDK Tools screen, make sure that the following packages are listed as Installed in the Status column:

Android SDK Build-tools

Android Emulator

Android SDK Platform-tools

Google Play Services

Intel x86 Emulator Accelerator (HAXM installer)

Google USB Driver (Windows only)

Layout Inspector image server

In the event that any of the above packages are listed as Not Installed or requiring an update, simply select the checkboxes next to those packages and click on the Apply button to initiate the installation process.

Once the installation is complete, review the package list and make sure that the selected packages are now listed as Installed in the Status column. If any are listed as Not installed, make sure they are selected and click on the Apply button again.

2.6 Making the Android SDK Tools Command-line Accessible

Most of the time, the underlying tools of the Android SDK will be accessed from within the Android Studio environment. That being said, however, there will also be instances where it will be useful to be able to invoke those tools from a command prompt or terminal window. In order for the operating system on which you are developing to be able to find these tools, it will be necessary to add them to the system’s PATH environment variable.

Regardless of operating system, the PATH variable needs to be configured to include the following paths (where <path_to_android_sdk_installation> represents the file system location into which the Android SDK was installed):

<path_to_android_sdk_installation>/sdk/tools

<path_to_android_sdk_installation>/sdk/tools/bin

<path_to_android_sdk_installation>/sdk/platform-tools

The location of the SDK on your system can be identified by launching the SDK Manager and referring to the Android SDK Location: field located at the top of the settings panel as highlighted in Figure 2-7:

Figure 2-7

Once the location of the SDK has been identified, the steps to add this to the PATH variable are operating system dependent:

2.6.1 Windows 7

1. Right-click on Computer in the desktop start menu and select Properties from the resulting menu.

2. In the properties panel, select the Advanced System Settings link and, in the resulting dialog, click on the Environment Variables… button.

3. In the Environment Variables dialog, locate the Path variable in the System variables list, select it and click on the Edit… button. Using the New button in the edit dialog, add three new entries to the path. For example, assuming the Android SDK was installed into C:\Users\demo\AppData\Local\Android\Sdk, the following entries would need to be added:

C:\Users\demo\AppData\Local\Android\Sdk\platform-tools

C:\Users\demo\AppData\Local\Android\Sdk\tools

C:\Users\demo\AppData\Local\Android\Sdk\tools\bin

4. Click on OK in each dialog box and close the system properties control panel.

Once the above steps are complete, verify that the path is correctly set by opening a Command Prompt window (Start -> All Programs -> Accessories -> Command Prompt) and at the prompt enter:

echo %Path%

The returned path variable value should include the paths to the Android SDK platform tools folders. Verify that the platform-tools value is correct by attempting to run the adb tool as follows:

adb

The tool should output a list of command line options when executed.

Similarly, check the tools path setting by attempting to launch the AVD Manager command line tool (don’t worry if the avdmanager tool reports a problem with Java - this will be addressed later):

avdmanager

In the event that a message similar to the following message appears for one or both of the commands, it is most likely that an incorrect path was appended to the Path environment variable:

'adb' is not recognized as an internal or external command,

operable program or batch file.

2.6.2 Windows 8.1

1. On the start screen, move the mouse to the bottom right-hand corner of the screen and select Search from the resulting menu. In the search box, enter Control Panel. When the Control Panel icon appears in the results area, click on it to launch the tool on the desktop.

2. Within the Control Panel, use the Category menu to change the display to Large Icons. From the list of icons select the one labeled System.

3. Follow the steps outlined for Windows 7 starting from step 2 through to step 4.

Open the command prompt window (move the mouse to the bottom right-hand corner of the screen, select the Search option and enter cmd into the search box). Select Command Prompt from the search results.

Within the Command Prompt window, enter:

echo %Path%

The returned path variable value should include the paths to the Android SDK platform tools folders. Verify that the platform-tools value is correct by attempting to run the adb tool as follows:

adb

The tool should output a list of command line options when executed.

Similarly, check the tools path setting by attempting to run the AVD Manager command line tool (don’t worry if the avdmanager tool reports a problem with Java - this will be addressed later):

avdmanager

In the event that a message similar to the following message appears for one or both of the commands, it is most likely that an incorrect path was appended to the Path environment variable:

'adb' is not recognized as an internal or external command,

operable program or batch file.

2.6.3 Windows 10

Right-click on the Start menu, select Settings from the resulting menu and enter “Edit the system environment variables” into the Find a setting text field. In the System Properties dialog, click the Environment Variables... button. Follow the steps outlined for Windows 7 starting from step 3.

2.6.4 Linux

On Linux, this configuration can typically be achieved by adding a command to the .bashrc file in your home directory (specifics may differ depending on the particular Linux distribution in use). Assuming that the Android SDK bundle package was installed into /home/demo/Android/sdk, the export line in the .bashrc file would read as follows:

export PATH=/home/demo/Android/sdk/platform-tools:/home/demo/Android/sdk/tools:/home/demo/Android/sdk/tools/bin:/home/demo/android-studio/bin:$PATH

Note also that the above command adds the android-studio/bin directory to the PATH variable. This will enable the studio.sh script to be executed regardless of the current directory within a terminal window.

2.6.5 macOS

A number of techniques may be employed to modify the $PATH environment variable on macOS. Arguably the cleanest method is to add a new file in the /etc/paths.d directory containing the paths to be added to $PATH. Assuming an Android SDK installation location of /Users/demo/Library/Android/sdk, the path may be configured by creating a new file named android-sdk in the /etc/paths.d directory containing the following lines:

/Users/demo/Library/Android/sdk/tools

/Users/demo/Library/Android/sdk/tools/bin

/Users/demo/Library/Android/sdk/platform-tools

Note that since this is a system directory it will be necessary to use the sudo command when creating the file. For example:

sudo vi /etc/paths.d/android-sdk

2.7 Android Studio Memory Management

Android Studio is a large and complex software application that consists of many background processes. Although Android Studio has been criticized in the past for providing less than optimal performance, Google has made significant performance improvements in recent releases and continues to do so with each new version. Part of these improvements include allowing the user to configure the amount of memory used by both the Android Studio IDE and the background processes used to build and run apps. This allows the software to take advantage of systems with larger amounts of RAM.

If you are running Android Studio on a system with sufficient unused RAM to increase these values (this feature is only available on 64-bit systems with 5GB or more of RAM) and find that Android Studio performance appears to be degraded it may be worth experimenting with these memory settings. Android Studio may also notify you that performance can be increased via a dialog similar to the one shown below:

Figure 2-8

To view and modify the current memory configuration, select the File -> Settings... (Android Studio -> Preferences... on macOS) menu option and, in the resulting dialog, select the Memory Settings option listed under System Settings in the left-hand navigation panel as illustrated in Figure 2-9 below.

When changing the memory allocation, be sure not to allocate more memory than necessary or than your system can spare without slowing down other processes.

Figure 2-9

The IDE memory setting adjusts the memory allocated to Android Studio and applies regardless of the currently loaded project. When a project is built and run from within Android Studio, on the other hand, a number of background processes (referred to as daemons) perform the task of compiling and running the app. When compiling and running large and complex projects, build time may potentially be improved by adjusting the daemon heap settings. Unlike the IDE heap settings, these settings apply only to the current project and can only be accessed when a project is open in Android Studio.

2.8 Updating Android Studio and the SDK

From time to time new versions of Android Studio and the Android SDK are released. New versions of the SDK are installed using the Android SDK Manager. Android Studio will typically notify you when an update is ready to be installed.

To manually check for Android Studio updates, click on the Configure -> Check for Updates menu option within the Android Studio welcome screen, or use the Help -> Check for Updates... (Android Studio -> Check for Updates... on macOS) menu option accessible from within the Android Studio main window.

2.9 Summary

Prior to beginning the development of Android based applications, the first step is to set up a suitable development environment. This consists of the Android SDKs and Android Studio IDE (which also includes the OpenJDK development environment). In this chapter, we have covered the steps necessary to install these packages on Windows, macOS and Linux.

Left arrow icon Right arrow icon

Key benefits

  • 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

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. The code files for the book can be found here: https://www.ebookfrenzy.com/retail/as41kotlin/index.php

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

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 Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Buy Now

Product Details


Publication date : May 14, 2021
Length 822 pages
Edition : 1st Edition
Language : English
ISBN-13 : 9781801815987
Category :

Table of Contents

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

Customer reviews

Filter icon Filter
Top Reviews
Rating distribution
Empty star icon Empty star icon Empty star icon Empty star icon Empty star icon 0
(0 Ratings)
5 star 0%
4 star 0%
3 star 0%
2 star 0%
1 star 0%

Filter reviews by


No reviews found
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.