An example of a GCM that is not out of date?

I have a GCM example of an entire installation, and it works fine, but it seems to be out of date. I tried to find any decent example that is not outdated so that I can at least translate my old code to the new version of GCM. The problem is that for the Google example they give here , they show only some of the basic things, with the missing large parts missing. The problem occurs when I see them with a .MyIntentService link, which they do not give any link.

+4
source share
1 answer

This sample application has been updated to the new GoogleCloudMessaging APIs. It includes several classes that are working for the old API, in order to try to reduce the number of changes needed to move from the old API to one.

Note that the old API is still working, AFAIK.

In addition, FWIW, here is the original version of the same sample using the original API.

+12
source

Source: https://habr.com/ru/post/1495619/


All Articles