I want to build a very simply app that will act as a garage door pushbutton switch emulator and work with bluetooth controlled relay. I would like the relay to momentarily close just like the hardware switch has it do. I have the code I need to send it to do this and can do it using the terminal like software the relay provided, but, it is sort of inconvenient.
I just need the ability to open the app, connect the my bluetooth relay then just push the button to activate the relay.
I have bluetooth terminal on my device and it seems like I could just have the pushbutton launch a script to do this using bluetooth terminal, but, I've never down any sort of programming with android.
So far using the app inventor I've put a pushbutton on the screen, but, I don't see how to add an action to a click event or connect the to the device.
Any ideas?
TIA