Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GCM example that isn't deprecated?

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.

like image 644
Xorty Avatar asked Dec 15 '22 07:12

Xorty


1 Answers

This sample application has been updated to the new GoogleCloudMessaging APIs. In includes a few classes that are workalikes to the old API, to try to reduce the number of changes needed to move from the old API to the one.

Note that the old API still works, AFAIK.

Also, FWIW, here's the original version of the same sample, using the original API.

like image 84
CommonsWare Avatar answered Jan 25 '23 15:01

CommonsWare