Register a new Project on Google Developer Console (https://console.developers.google.com). Activate Google Cloud Messaging for Android API and generate a API Key. Add this key in this file NotificationTaskServlet
Then deploy the server part to Google App Engine and head over to the client (https://github.com/berndfinal/PushNotificationTester_App)