This is a developed version of the GCM libray which can be used to develop Android push notification applications. This library handles the storing of Device Registration IDs too. Please note that this repo doesn't contain any samples.
Blog:- https://randikan.wordpress.com/2015/12/03/android-push-notifications-with-gcm-client/