Tiger 10 wrote: ↑Mon Dec 02, 2019 5:01 pm
Hi. I have a raspberry pi 3 B+ and I was wondering if i can run android and somehow still access the gpio pins. I want to make an app with buttons to control motors and relays, but still be able to reach apps like youtube, Gps etc. I also want to use a 7 inch touch screen. I have installed android on the pi the screen shows perfectly but the touch function is not working what can i do? If i can't use android what can i use that is more user friendly than Python?
You can access GPIO pins using sysfs in all LineageOS builds (14.1, 15.1, and 16.0 -
https://konstakang.com/devices/rpi3/). There's no java API for GPIO access or anything but it should be straight forward to code it yourself. Your app needs to use root permissions to be able to write to sysfs, though.
All these builds also support some external USB GPS dongles. Official 7" touchscreen works with LineageOS 14.1 & 15.1 but not currently with 16.0.