Telling if the user or the OS initiated Android C2DM registration?

You need send push notification messages not via intents.

I want the C2DM BroadcastReceiver to tell whether the registration intent was from the user or from the framework. – Brandon O'Rourke Jul 14 at 14:52.

Please look at onHandleIntent(Intent intent) method in C2DMBaseReceiver. Java class. You can override method onMessage() in your C2DMReceiver.

Java class extended C2DMBaseReceiver.java.

It looks like this is impossible. Whatever receives the REGISTER intent doesn't pass it on to onReceive.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions