Android C2DM getting (401) Unauthorized

前端 未结 3 1196
伪装坚强ぢ
伪装坚强ぢ 2020-12-17 03:55

I have an Android application with an ASP.NET backend. I have the registration_id for the phone as well as an auth token from google for the application server that is perf

3条回答
  •  囚心锁ツ
    2020-12-17 04:38

    I have encountered a similar problem: error 401 "Unauthorized" while trying a google c2dm (cloud to device messaging) code sample. It looks like the example used to work as is, but now Google has changed its conditions. Before running code examples, you have to sign-up:

    http://code.google.com/android/c2dm/signup.html

    I signed up, and the stuff began to work in minutes.

提交回复
热议问题