GCM4Public DEMO open source
- Downloads:
- Views:
- Rating:

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
Free download from Shareware Connection - GCM4Public open-source GCM serviceThe eventDuring the +GDG Vilnius event Hackathon: Google Cloud Messaging for Android, this open source project was created:https://github.com/gdgvilnius/GCM4Public-GAE-ServerThe serverThe Demo ...
Version: 1.0 | Size: 166 KB | Platform: Android 2.x,Android 3.x,Android 4.4,Android 4.x
Released Date: 22-07-2014 | Rating: 0 | Title: GCM4Public DEMO open source
Author Url: http://vilius.kraujutis.lt
Program Info Url: http://vilius.kraujutis.lt
Download Url: http://vilius.kraujutis.lt
Construction Materials Engg.-1
Chemistry for Engineers
Switched Mode Power Conversion
Elements of Power Systems -1
Signals and Systems-1
Fluid Machinery Mech. Engg.-1
Industrial Engineering
Professional Communication-1
Environmental Engineeering - 1
Advanced Structural Design
Mechanical System Design
Electromagnetic Field Theory-1
Physics for Engineers - 2
Special Electrical Machines
Books
Business
Comics
Communication Apps
Education
Entertainment
Finance
Games
Health
Libraries
Lifestyle
Medical
News & Magazines
Personalization
Date Created Edit File Open Source
Open Source Intranet Messaging
Instant Messaging Open Source
Lan Messaging Open Source
Bulk Messaging Open Source
shareware Guide - shareware,freeware,demo,open source,download,upload,share,p2p,submit,list,guide
Open Source Blog Software MegaMix - Download 10 of the best open source blog software packages. All available in one open source blog software megamix package.
Open Source Scripts - A categorized directory of open source web scripts. Opensourcescripts provides the place for compiling, storing and distributing open source resources.
Comm100 Forum Open Source - Comm100 Forum Open Source is the powerful and easy -to-use open source forum software based on ASP.NET and SQL server. You can download the forum package with no limitations for free and install it in your own environment.
SalesMate - Open Source Sales Force Automation - SalesMate is an Open Source Web Based Sales Force Automation Application/CRM developed using ASP.NET, VB.NET and SQL Server. it includes modules such Accounts, Opportunities, Contact, Task and Activity management.
Shareware Connection periodically updates pricing and software information of 'GCM4Public DEMO open source' from company source 'Vilius Kraujutis' , so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using 'GCM4Public DEMO open source' crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of GCM4Public DEMO open source.
PictBear - Nowadays, a majority of PC users resort to digital image editing once in a while. It may be required for retouching image captured in smart phones or for creating an album in Facebook. For some people, tinkering with digital images is a pastime ...
SeaMonkey, Portable Edition - Using the Internet has become a necessity for a majority of people, including those who do not use a PC regularly. To browse web, stream video or download online content, people often resort to using various third party apps. For example, using ...
AOMEI Partition Assistant Lite Edition - No matter whether you are a casual PC user or deal with a number of computers for professional needs, taking care of hardware components is a necessity. Among all hardware components used in laptop or desktop, hard disk is the most important one. ...
Spotflux - Browsing the internet is a common activity among PC users nowadays and it is required for work and personal purposes almost on a daily basis. However, with malware invasion on rise and hackers on prowl, web browsing and download safety has become ...
Baidu PC Faster - To keep your laptop or desktop computer running at peak speed and extract optimal performance out of it, using third party apps may be necessary. While some users still rely on Windows inbuilt PC cleanup and maintenance tools, some third party ...
Plants vs. Zombies 2 - These days there are lot of tower defense games on offer. Coming from the stable of Electronics Arts, which is one of the leading companies in the gaming arena, Plant vs. Zombies is a decent game particularly if you are interested in garden ...
EasyBrake - PC users often need to convert videos from various formats to other formats that suit their needs. As expected, there are hundreds of free and paid apps to accomplish such tasks nowadays. It is not mandatory that you will have to pay a high ...
Hanso Player - Using a media player application to play back music files is something nearly every PC user needs to do. There are so many applications that the abundance can leave average users somewhat puzzled. If the bundled WMP does not suit your taste but ...
Emsisoft Emergency Kit - The way malware creators and hackers are adapting to newer measures to sneak past PC security, it is no longer enough to stay complacent after installing a standalone antivirus. You never know when a stealthy malware sneaks past its scan and ...
HandBrake - Nearly every PC user gets into a situation when they fail to understand what to do with a DVD that will not play back on DVD player or PC owing to format restrictions. Some users may also feel irked about a video file downloaded from web refusing ...
