4

I have a GCM example all setup and it works fine but it seems to be deprecated. I have attempted to look for any decent example that is not deprecated so that I can at least translate my old code to the new GCM version. The problem is that for the Google example that they give here they only show some of the basic things, with large parts missing that were once required. The issue furthers when I see them reference .MyIntentService which they do not give any reference.

4

1 回答 1

12

此示例应用程序已更新为新的GoogleCloudMessagingAPI。In 包括一些与旧 API 类似的类,以尝试减少从旧 API 迁移到新 API 所需的更改数量。

请注意,旧 API 仍然有效,AFAIK。

此外,FWIW,这里是相同示例的原始版本,使用原始 API。

于 2013-08-06T21:25:03.867 回答