title: Sending a command to Raspberry PI using an Android App
body: <p>I'm currently working on a small project of simply controlling the lights in my apartment. I have a Raspberry Pi setup to control the lights with a 433 Mhz transmitter. I can send on/off commands to the lights using a "send code  " command through the command line on the PI. I'm looking to create an Android App to do this for me, and I'm looking for a way to make this happen.  </p>
  
  <p>The Raspberry Pi is always connected to the internet, so I was thinking about hosting an Apache Webserver on it, and then somehow sending it commands from the app.  Would anyone know how to go about doing this? I have little knowledge about Apache or webservers to begin with, but my basic google searches have pulled up ideas about using http posts. </p>
  
  <p>Would figuring out how to use an HTTP post be the best course of action, or is there an easier way?</p>