I want to install Android on my Raspberry Pi for implementing a GUI app, which is easy to create using Android Studio.

But now I am confused about how to control the GPIO pins on the Pi 3 to turn on the relay and get data from other sensors.

How can I interface my main GUI app to another script running in the background waiting for commands from the user selection?

  • Did you ever figure this out? I'm running Android on my Pi and I'm trying to control the GPIOs from an app I'm building that will run on that Pi.
    – Lucas P.
    Nov 18 '18 at 0:45
  • I hope my answer is not too late. Please refer to the URL following. github.com/yang-neu/rpi3gpio
    – Alex Yang
    Oct 27 '19 at 12:06
  • You could try installing gpiozero. It comes with Raspbian by default, but you should be able to install it on other operating systems. gpiozero.readthedocs.io/en/stable/installing.html
    – Paul
    Apr 8 '20 at 2:10

Browse other questions tagged or ask your own question.