https://github.com/liccowee/Google-Cloud-Messaging--Titanium-/blob/master/src/com/activate/gcm/GCMIntentService.java