Home Editor's Choice Reviews News Alternatives TopTens Pre-Register Limited-Time Sale Hot Games Hot Apps Category APK Downloader APK Upload Chrome Extension APKFab APP Search App
Select Language

GCM4Public DEMO open source

9.1

v1.0 by Vilius Kraujutis

About GCM4Public DEMO open source

GCM4Public DEMO open source (Package Name: lt.andro.gcm4public) is developed by Vilius Kraujutis and the latest version of GCM4Public DEMO open source 1.0 was updated on December 2, 2012. GCM4Public DEMO open source is in the category of Education. You can check all apps from the developer of GCM4Public DEMO open source. Currently this app is for free. This app can be downloaded on Android 2.2+ on APKFab or Google Play. All APK/XAPK files on APKFab.com are original and 100% safe with fast download.
GCM4Public open-source GCM service
The event
During the +GDG Vilnius event Hackathon: Google Cloud Messaging for Android, this open source project was created:
https://github.com/gdgvilnius/GCM4Public-GAE-Server
The server
The Demo Android application using this GCM4Public service is open here:
https://github.com/gdgvilnius/GCM4Public-Android-Client
This is the Java class which sends GCM message:
https://github.com/gdgvilnius/GCM4Public-GAE-Server/blob/master/src/lt/andro/gcm4public/SendGCM2Clients.java
The client
To use Google Cloud Messaging for Android you need to register at Google's API console:
https://code.google.com/apis/console
This is the Java class responsible for handling GCM messages and registers on GCM4Public server:
https://github.com/gdgvilnius/GCM4Public-Android-Client/blob/master/src/lt/andro/gcm4public/GCMIntentService.java
Here you can see how device initiates registration on the GCM:
https://github.com/gdgvilnius/GCM4Public-Android-Client/blob/master/src/lt/andro/gcm4public/MainActivity.java
Sending messages
You'll get the project number (aka senderId) and API Key. These two are used in this service to send GCM notifications. And you need to provide it in this form: https://gcm4public.appspot.com/
The service is secure, because only senderId and phones registrationId are stored. The API key is not saved on server and you need to provide it every time you want to send a message to the server.
The senderId is used to filter app's users, so one application would not disturb other's users.
Multiple applications can use this single server: https://gcm4public.appspot.com/
Google App Engine
It's running on Google App Engine so it has some limitations, but I think, it might be running ok for few hundred small apps. If you have tens of thousands users, please fork the project on github and put on your separate Google App Engine account with separate daily limits.
Other resources
Blog post: http://www.andro.lt/2012/11/google-cloud-messaging-for-android.html
Google Cloud Messaging for Android by Francesco Nerieri:
https://developers.google.com/events/io/sessions/gooio2012/100/
and get the slides here:
http://commondatastorage.googleapis.com/io2012/presentations/live%20to%20website/100.pdf
If you want to read more, here is the link on developer.android.com about GCM for Android:
http://developer.android.com/guide/google/gcm/gs.html

GCM4Public DEMO open source 1.0 Update

Initial version.
Read More
GCM4Public DEMO open source Features

Previous Versions

More

GCM4Public DEMO open source 1.0 APK February 5, 2016 166.15 KB Download

Requires Android: Android 2.2+

Screen DPI: 120-320dpi

SHA1: 7eebd1ca07bf917ba0aafb7c07b02495281f91a9

Size: 166.15 KB

What's New:

Initial version.
More Information

Package Name:

lt.andro.gcm4public

Update Date:

Latest Version:

1.0

Need Update:

Submit latest version

Requirements:

Android 2.2+

Safe to Download

APKFab.com and the download link of this app are 100% safe. All download links of apps listed on APKFab.com are from Google Play Store or submitted by users. For the app from Google Play Store, APKFab.com won't modify it in any way. For the app submitted by users, APKFab.com will verify its APK signature safety before release it on our website.

Share
Share this page with your friends if you find it useful