title: Communication Android to PC
body: <p>I'm working on a project I'm trying to present to a conference and I need a bit of help pointing in the right direction.</p>
  
  <p>The app I'm building is supposed to monitor the elderly. When the phone detects a sudden change from the accelerometer/motion sensors (a.k.a. the patient fell or lost balance), the phone sends an emergency message containing info about the patient (location, medical and personal facts stored in a database, etc.)</p>
  
  <p>The help I need is in establishing a communication protocol between the Android device and the PC. I'm ok if I do it through a browser, or anything, but I've never built anything like that before and I'd really appreciate it if you could point me in the right direction.</p>
  
  <p>What should I research in order to establish such a communication protocol?</p>
  
  <p>LE: I thought about sending an email from the device with the specified data to a GMail account and then retrieving the information from that email, processing it and displaying it in a browser-based app (Using php seems the most straight-forward way to go).</p>