List of sessions - / droidkaigi
Learn the mechanism of Android's hardware control through GPIO control (takasshii)
In order to use a microcontroller with AndroidOS to operate devices connected to the microcontroller, GPIO control is required.
However, with the end of AndroidThings development, it has become difficult to easily operate GPIO on Android, and there is little information on the Internet that covers how to operate GPIO on pure Android OS.
In this session, using the TinkerBoard2S microcomputer as an example, I will introduce how to operate GPIO from an Android application, explaining the appropriate permissions when operating hardware from an Android application, and the advantages and disadvantages of each of the following methods.
Setting the same SharedUserId as the privileged application by performing platform signing, to grant the same privileges as the privileged application.
Separating as services the parts that require permissions from the application, to achieve the principle of least privilege.
Improving the security of the implementation from a platform architecture point of view by not granting permissions to the application layer.
Through these demonstrations, I will explain how Android-based devices operate hardware and what implementation methods are suitable depending on the scale of development.
DroidKaigi 2023 Session timetable/Slide link - https://2023.droidkaigi.jp/en/timetab...
---------
DroidKaigi is a conference tailored for Android developers. It took place on the 14, 15, and 16 of September 2023.
All participants at DroidKaigi are required to agree with the DroidKaigi Code of Conduct.
This will be enforced on social media and YouTube comments and chats as well:
https://portal.droidkaigi.jp/en/about...
DroidKaigi 2023 and more - https://2023.droidkaigi.jp/
DroidKaigi on X - / droidkaigi
#Android #DroidKaigi
----
The Android robot is reproduced or modified from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.