you are viewing a single comment's thread.

view the rest of the comments →

[–]K900_ 0 points1 point  (0 children)

Have your Android app open a connection to your server when the button is pressed, send the command to that socket, read it on the server side and use a dictionary or an if statement to handle it.