Thank you for reading my post:
I had C2DM working perfectly in my application. To test a different scenario I unregistered my phone so that it would not receive pushes anymore, and then I re-registered my phone. Since I have re-registered push does not work.
Here are the steps I'm experiencing:<ol><li>My phone receives a registration_id with no erros</li> <li>I do a post to Google with my registration_id within a few minutes of receiving the id</li> <li>I get a response of Error=NotRegistered</li> </ol>
I don't see anything strange in LogCat during this process. I'm at a loss and any help is much appreciated.
Thank you, MattAnswer1:
When you're using the C2DMMessaging class provided by Google to do push and you're calling the static method C2DMMessaging.register(Context context,String senderId), you must pass in the senderId that you registered for C2DM with.
It will still give you a registration id back from the C2DM servers if you use an account on the phone, but it will not work for your purposes.