Skip to content

Instantly share code, notes, and snippets.

@rnavagamuwa
Created December 3, 2015 05:03
Show Gist options
  • Save rnavagamuwa/ba9605799e936dfe2fe7 to your computer and use it in GitHub Desktop.
Save rnavagamuwa/ba9605799e936dfe2fe7 to your computer and use it in GitHub Desktop.
package org.wso2.pushnotifications;
import org.wso2.android.gcm.GCMBaseIntentService;
import android.content.Context;
import android.content.Intent;
public class GCMIntentService extends GCMBaseIntentService {
static String SENDER_ID = "12345678";
public GCMIntentService() {
super(SENDER_ID);
}
@Override
protected void onMessage(Context context, Intent intent) {
// TODO Auto-generated method stub
}
@Override
protected void onError(Context context, String errorId) {
// TODO Auto-generated method stub
}
@Override
protected void onRegistered(Context context, String registrationId) {
// TODO Auto-generated method stub
}
@Override
protected void onUnregistered(Context context, String registrationId) {
// TODO Auto-generated method stub
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment