With the popularity of Android phones, along with the success in the consumer field, the industrial Android platform is getting more and more popular in Europe.
An industrial grade Android OS usually requires hardware control such as GPIO, I2C, PWM, etc., however device vendors implement these functions in different ways, some may even compromise Android security function. In this session, the presenter will introduce how to implement packaged JNI API from common libraries of Linux OS for hardware controlling for Kotlin based app while fully matching the security architecture of Android OS through AOSP 12 BSP and Android-Studio IDE.
- Introduction hardware control common libraries on Linux OS (15%)
- How Kotlin calling JNI (15%)
- 1st case: libgpiod app（adapt Raspberry Pi、EDM-G-IMX8MP and Orange PI）(40%)
3-1. How to implement on Android Studio
3-2. Don’t forget cross-platforms compatible (ARM32 and ARM64)
3-3. How to port to AOSP source code
3-4. Overcome secuiry issue - SELinux
- Other cases (20%)
4-2. UART and PWM
4-3. Modbus and Canbus
- Summary and future work (10%)