Firebase Cloud Messaging

From Wildsong
Revision as of 05:28, 25 May 2013 by Brian Wilson (talk | contribs) (Created page with 'AKA GCM === sample gcm server === Web App that runs in Tomcat Sends a message to any registered Android devices that says "You got a message". WebContent/ index.jsp just loa…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

AKA GCM

sample gcm server

Web App that runs in Tomcat

Sends a message to any registered Android devices that says "You got a message".

WebContent/

index.jsp just loads home via webmapping /home

WEB-INF/

lib/

  • gcm-server.jar -- sources are at the root level in the gcm code
  • json_simple-1.1.jar -- probably a json parser

Servlets

  • RegisterServlet -- accepts connections
  • UnregisterServlet --
  • SendAllMessagesServlet -- sends a message to all registered devices
  • HomeServlet - displays existing messages and allows sending a new one