Skip to main content

Posts

Showing posts with the label android-c2dm

c2dm 401 error when sending messages after receiving id and auth token

I have seen many similiar questions but no good answer despite some of them being accepted. I have registered for C2DM. I received confirmation email. Then I wrote some simple app to register for C2DM. I get the id (tried on emulator and on real device). Then I got the auth token (with curl) for my email that I used for C2DM registration (the same email that I use in app for acquiring the id).

AppEngine Connected Android Project: sendNoRetry: Unauthorized - need token

i have created a new 'AppEngine Connected Android Project' with the Wizzard and entered my registred Mail-Adress. I changed nothing on the Registration-Code, that is created automatically, but I get the following Error erverytime I try to send a Message: com.google.android.c2dm.server.C2DMessaging sendNoRetry: Unauthorized - need token I tried to create a new dataMessagingToken.txt (create a new Project, with the same Name and replace it in the original one) but that does not work... I hope you can help me. Thank You Tobi