With AeroGear Android’s Unified Push support developers can easily register and process messages sent from the push server through Google Cloud Messaging to their devices.
We’ve introduced several new APIs to manage the Unified Push network. A full run down can be found on aerogear.org, but here are the highlights.
Registrations : This is the factory class, similar to Pipeline. It is responsible for instanciating and referencing PushRegistrar instances. It also routes messages from AeroGearGCMMessageReceiver to MessageHandler instances.
PushRegistrar : This is an interface that provides methods to manage the connection to the Unified Push Server and GCM push networks.
MessageHandler : This interface provides method callbacks which will be invoked when a message is received by a push network.
AeroGearGCMMessageReceiver : An insteance of BroadcastReceiver which will consume Intents from GCM and public them to the Registrations class.
Where can I get it
- Maven Central