Wrote a application used to control my phone by another, based on gcm-sample provided by google.