Hi,
I have just signed up for the c2dm service and when I send the message
to my mobile using
curl --header "Authorization: GoogleLogin auth=XXXXXX" "https://
android.apis.google.com/c2dm/send" -d registration_id=XXXX -d "data.
message=Hello world" -d collapse_key=something -k
I get a response to the client but I dont get payload
System.out.println( intent.getStringExtra("from")); // I get the
email ID which I registered over here
System.out.println( intent.getStringExtra("collapse_key")); //
"something " as specified
System.out.println( intent.getStringExtra("payload")); //but this
gives me null
Can any one help me out here.
Thanks & Regards,
Shirish.