Issue has been resolved. It was an issue in manifest. I ruled out
Manifest after checking it 20x, and because it was copy pasted from a
tutorial, and everything else was working. The name in my <uses-
permission android:name="co.sample.permission.C2D_MESSAGE" /> did not
match the declared permission.
If any hapless soul finds this while searching a problem - be advised
that many parts of C2DM can work - it is not an indication of a
correct Manifest. In my case registration worked fine, and I simply
did not receive the RECEIVE intents. I believe because my device was
not accepting the RECEIVE intent, Google was then unregistering - and
thus I would get a REGISTRATION intent when I expected a RECEIVE
intent.
> On Sun, Apr 1, 2012 at 8:05 PM, Paul Pucciarelli <
paul.pucciare...@gmail.com
>
>
>
>
>
>
>
> > wrote:
> > To elaborate on the problem... when the RECEIVE intent comes in... it
> > seems to get CANCELLED for some reason:
>
> > 04-01 22:23:18.100: W/GTalkService(1589): [DataMsgMgr] broadcast
> > intent callback: result=CANCELLED forIntent
> > { act=com.google.android.c2dm.intent.RECEIVE cat=[co.sample] (has
> > extras) }
> > 04-01 22:23:18.100: W/GTalkService(1589): Receiver package not found,
> > unregister application co.samplesender
sampl...@gmail.com