In this course attendees will learn how to develop and customize Android on embedded systems.
The following topics will be covered:
- Android history, key features, software licenses, certification process, basic operating system components.
- Android source code, AOSP, repo tool and git repositories, source code directories, browsing the source code, AndroidXRef.
- Android build system, makefiles (Android.mk), Blueprint files (Android.bp), Soong, Ninja and Kati tools, product and build variant, lunch command, compiling Android, generated images, other build commands, Android emulator.
- Android hardware features and requirements, bootloader and fastboot, Linux kernel changes for Android (binder, ashmem, wakelocks, etc.), Android file system organization, partitions and mount points (ramdisk, system, data, vendor, etc), file system directories and organization, ADB.
- Products and devices, creating a new product, customizing the product, adding applications and files, resources overlay, Android properties, board makefile.
- Native layer libraries and applications, C library and Bionic, toolbox, toybox and busybox, shell, daemons (ueventd, vold, rild, netd, installd, etc.), logcat, command line utilities.
- Boot process overview, Android startup, init process and the init.rc configuration file, actions and triggers, services and daemons, system properties management, dalvik, art, zygote and system server.
- Android build system modules (libraries, applications, etc), creating makefiles (Android.mk), Kati tool, creating Blueprint files (Android.bp), compiling and installing modules.
- Abstracting hardware access on Android, Hardware Abstraction Layer (HAL) architecture, association between HALs and system services, HAL as a shared library (up to Android 7), Project Treble, HAL as a service (starting with Android 8), HIDL, VTS, VNDK, VINTF Object, HAL implementation in C++, other hardware access mechanisms on Android.
- Android framework components, system services, services and processes (surfaceflinger, drmserver, mediaserver, cameraserver, system_server, etc), binder and the communication with Android framework services, framework commands and utilities.
- Reasons to extend the Android framework, developing a Java framework service, defining the service interface in AIDL, accessing HAL via JNI, creating an API (Manager class) to access the service.
- Basic characteristics of an Android application, components of an application (activities, services, broadcast receivers and content providers), intents and communication between components, processes and threads of an Android application, application life cycle and memory management, security and permissions, NDK, developing a dedicated application (kiosk mode), Launcher application, lock task mode.
- Online links and resources, book recommendations, questions and closing comments.
The slides of this training session are released under the Creative Commons BY-SA 3.0 license, and the source code can be found here.
Some pictures of training sessions already presented are available here.
Students, engineers and software developers of embedded systems projects.
Basic knowledge of GNU / Linux systems and shell command line. Although not essential, minimal knowledge of embedded Linux and C, C ++, and Java languages is recommended.
All required development tools and equipment will be provided by Embedded Labworks.
The course material contains the slides of the presentations, book of activities and exercises, reference guides, and additional reference documents. All materials will be provided in an electronic format at the start of the training session.
Training exercises are performed on the official Android emulator.
The open training sessions are presented in a pleasant environment, with a properly equipped laboratory and Internet access. Classes are usually presented full time, with a stop for lunch and a coffee break in the morning.
If you are interested in participating in the training but there is no open session available, please fill the pre-registration form clicking here. We will contact you as soon as a new training session is opened.
If you plan to train your team or a group of people, consider a training session in your company.
In-company classes have the same characteristics of an open training session. In this model, the company is responsible for providing the necessary resources needed for the training, including room, data projector and development machines. This model also brings big advantages for the company, since the cost of transportation and accommodation of several employees is reduced only to the instructor.
If your company has a special requirement, we can study a program that meets your needs in a specific way, like preparing the training material for a specific hardware platform or developing additional content. Do not hesitate to contact us by e-mail or leaving a message in the contact page.
Take the training to your city
You can take the training session to your community at any city in Brazil!
Can't afford to take the course in São Paulo? Do you have a study group and want to learn more about a specific technology? Do you coordinate or participate in the coordination of a course at your university and would like to train the teachers and students? Do you have a space and would like to get some friends together and spend enjoyable hours learning about embedded systems?
Send an e-mail or leave a message in the contact page. Send the name of the course you are interested and the city. If we can get together a group of interested people, we can bring the training to your city!