Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a Java library to simplify Google Cloud Messaging?

I'm wondering if there's any library that provides an interface for easily sending messages via GCM?

Looking at the architectural overview, it seems you have to do an awful lot of stuff yourself (open TCP connections, construct HTTP requests, construct the JSON payload, implement exponential backoff, handle the various types of errors etc).

Surely there's some sort of base implementation of this stuff that I've missed, yeah?

like image 252
Jonathon Ashworth Avatar asked Oct 24 '12 23:10

Jonathon Ashworth


1 Answers

Yes, it's described on the demo page and the source is here.

like image 66
Rupert Rawnsley Avatar answered Nov 11 '22 22:11

Rupert Rawnsley