SlideServe
Menu
Préférences
© SlideServe · v2026

FCM Workflow using GCM

bruce-nguyen avatar
17 diapositives · 507 Views · Nov 15, 2014

FCM Workflow using GCM. Agenda. Polling Mechanism What is GCM Need / advantages of GCM GCM Architecture Working of GCM GCM – Send to Sync [ HTTP ] and Send Data [ XMPP ] Google Cloud Messaging – APIs Implementation. Existing FCM uses Polling. Any new updates ?. No.

FCM Workflow using GCM - slide 1
01 / 17FCM Workflow using GCM
1 / 17

Télécharger la présentation

FCM Workflow using GCM
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. FCM Workflow using GCM

  2. Agenda • Polling Mechanism • What is GCM • Need / advantages of GCM • GCM Architecture • Working of GCM • GCM – Send to Sync [ HTTP ] and Send Data [ XMPP ] • Google Cloud Messaging – APIs • Implementation

  3. Existing FCM uses Polling Any new updates ? No Any new updates ? No Any new updates ? YES Polling is simple to implement, But Polling consumes lot of battery , resource. Extra Network Usages.

  4. GCM

  5. What is GCM • GCM stands for Google Cloud Messaging. • It is a free service that allows you to send data from your servers to your users and vice versa. • Handles queuing of messages and delivery to the target application.

  6. Need / advantages of GCM • Application does not need to be running in the background for receiving data messages. The system will wake up the Android application via Intent broadcast when the message arrives. • Lower cost and better tracking than SMS • Scalability & extensibility • GCM is completely free no matter how big your messaging requirements

  7. GCM Architecture

  8. Working of GCM 1.Request for Registration GCM 2.Reply with Registration Id 5. Send Message Mobile App 3.Send Registration Id 4. Send message {RegId, msg }

  9. GCM – Send to Sync [HTTP] GCM 2. Send Notification message Mobile App 3. Download data 1. Send Notification message

  10. GCM – Send Data [ XMPP ] GCM Send message Persistent XMPP connection Mobile App Send message

  11. Google Cloud Messaging – APIs Time To Live and Delay While Idle Multiple Senders Message Multicasting

  12. Implementation GCM Server • Creating a Google API project • Enabling the GCM Service

  13. Implementation Mobile App

  14. Implementation Application Server • Expose Service to receive and store user information and GCM registration Id. • Send message to GCM service.

  15. Minimum requirements ( device side ) • Android 2.2 + • Google Play Store application should be installed • Internet connection • Google account ( device version < 4.0.4 ) • For Developer Emulator with Google APIs

  16. References • https://developer.android.com/google/gcm/index.html • Presentation by Francesco Nerieri https://developers.google.com/events/io/sessions/324893448

  17. Thank you Any questions?