how to retrive Registration id and send message to third-party application in android c2dm0+
There has above code code working successfully.There has some change in C2DMBroadcastReceiver.java class for receive message and There has add MessageClass.java class for sending message to server C2DMBroadcastReceiver.java file public class C2DMBroadcastReceiver extends BroadcastReceiver { NotificationManager nm; @Override public final void onReceive(Context context, Intent intent) { if (Constants.RECEIVED_REGISTRATION_ID_FROM_GOOGLE.equals(intent.getAction())) { Log.d(Constants.TAG, “Received a registration ID from … Read more