USB and Android [linux.conf.au 2014]

Опубликовано: 01 Январь 2025
на канале: Konstantin Bläsi
1,341
7

Android devices since the very first HTC Dream have contained the silicon for behaving as a USB host, enabling a phone or tablet to communicate with USB devices. It wasn't until Android 4 that the host mode APIs and hardware formed a suitable, stable pairing that enabled host apps to be written without requiring a soldering iron and rooting your phone.
This talk takes you through the process of using an Android handset as a data acquisition device, from gaining permission from the system down to building and running your own libusb based application for interfacing with a USB device not supported by the Java API.

Joel Stanley

Joel is an embedded software engineer. He spends a lot of his time writing C on systems that count their memory in killobytes and operating system is spelled while(1). He enjoys using Python to solve his problems, and wrangles Java when messing about on Android.

https://lca2014.linux.org.au/wiki/ind...