Connecting relay to GPIOs

Hello Edge community,
I’m pretty new in this and need some assistance.

Can someone share an android(java) example/ library that shows how to control GPIOs?

Also, what pins would be recommended to use.


Hello, I cannot help with this directly. Here are some links.
How to access the GPIO.
Wiring Pi.