Adding the code for Android app for sending a GCM