From the course: Android App Development: Accessibility

How to use the exercise files - Android Tutorial

From the course: Android App Development: Accessibility

Start my 1-month free trial

How to use the exercise files

- In this course, we will use a simple application showing some common Android interface patterns and components. This app was made to be simple and flat on purpose so we can focus as much as possible on fixing the user interface. The java classes are organized into different package folders. The folder names are pretty self-explanatory. For example, you will find activities under the activities folder and fragments under the fragments folder. Under the UI folder, you will find a simple custom view and under the utils folder, you will find two classes. One is the util class, which is only used to generate some random data for our app, and the accessibility utils class that provides some methods to deal with scale-independent pixels, more commonly known as SP units for texts. For every coding view, we will have exercise files. The exercise files will contain the initial and the completed state, this is for you to follow along and verify your work in the end. In most of the examples, I will be deploying the app to a real device, but you can also follow along on an emulator. Please note that Talkback, which is needed for accessibility development, does not come installed by default on emulators. On Android Studio, open the AVD Manager under Tools, and create a new virtual device. Make sure that the virtual device supports the Play Store as well as the image. Once you have the emulator with the Play Store support, you will be able to install Talkback directly from the Play Store. For other emulator devices and images, you will have to download Talkback APK either from an external website such as apkmirror, or, view Talkback from source, which is available on GitHub, and then install it on your emulator via ADB.

Contents