SlideShare una empresa de Scribd logo
1 de 15
Descargar para leer sin conexión
Google Cloud Messaging
      for Android
 Luca Morettoni <luca@morettoni.net>
Google Cloud Messaging
Aggiornare i dati delle APP:
● Polling;
● Notifiche PUSH.

Vantaggi delle notifiche PUSH:
● Minor consumo di risorse (batteria/banda);
● Aggiornamenti (quasi) real-time;
● L'applicazione non deve essere attiva.
Google Cloud Messaging
Limiti/richieste di GCM:
● Android 2.2 o superiore;
● Google Play Store installato;
● L'utente deve avere almeno un profilo
  Google configurato (per versioni < 4.0.4);
● Payload dal server alle app limitato (~4K).
Google Cloud Messaging
Registrazione dei device




                               1

                           2



  3
Google Cloud Messaging
Invio di notifiche

                 1



                 2




                     3
Google Cloud Messaging
Prima di cominciare:
     https://code.google.com/apis/console
                   1.   Prendete nota dell'ID del progetto (nella URL);
                   2.   Attivate il servizio Google Cloud Messaging;
                   3.   Create una nuova chiave per il server.
Google Cloud Messaging
Android side:

1.   Registrare il device sui server GCM;
2.   Ottenere il device ID;
3.   Inviare il device ID al proprio server;
4.   Attendere le notifiche!
Google Cloud Messaging
AndroidManifest.XML

<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="17"/>
<permission android:name="net.morettoni.terremoto.permission.C2D_MESSAGE" android:
protectionLevel="signature" />
<uses-permission android:name="net.morettoni.terremoto.permission.C2D_MESSAGE" />
<uses-permission   android:name="com.google.android.c2dm.permission.RECEIVE" />
<uses-permission   android:name="android.permission.INTERNET" />
<uses-permission   android:name="android.permission.GET_ACCOUNTS" />
<uses-permission   android:name="android.permission.WAKE_LOCK" />
<receiver android:name="com.google.android.gcm.GCMBroadcastReceiver" android:
permission="com.google.android.c2dm.permission.SEND" >
  <intent filter>
    <action android:name="com.google.android.c2dm.intent.RECEIVE" />
    <action android:name="com.google.android.c2dm.intent.REGISTRATION" />
    <category android:name="net.morettoni.terremoto" />
  </intent-filter>
</receiver>
<service android:name=".GCMIntentService" />
Google Cloud Messaging
Registrazione

GCMRegistrar.checkDevice(this);
GCMRegistrar.checkManifest(this);

final String regId = GCMRegistrar.getRegistrationId(this);
if (regId.equals("")) {
  GCMRegistrar.register(this, ID_PROGETTO);
} else {
  // controlliamo se siamo registrati sul nostro server
  if (!GCMRegistrar.isRegisteredOnServer(this))
    ...
  }
}
Google Cloud Messaging
GCMIntentService

public class GCMIntentService extends GCMBaseIntentService {
  protected void onError(Context context, String errorId) {}
  protected void onMessage(Context context, Intent intent) {}
  protected void onRegistered(Context context, String registrationId) {}
  protected void onUnregistered(Context context, String registrationId) {}
}
Google Cloud Messaging
Server side

1. Effettuare un POST al server GCM;
2. Eliminare/aggiornare i device ID.
Google Cloud Messaging
Server side (POST)
https://android.googleapis.com/gcm/send
header:
Authorization: key= CHIAVE_SERVER
Content-Type: application/json



body:
{
    registration_ids: ['device_1', 'device2', ..., 'device1000'],
    collapse_key: 'key',
    data: { 'payload_data': 'ABC123...' }
}
Google Cloud Messaging
Altri campi "interessanti":
"delay_while_idle": true| false

"time_to_live": seconds (default 4 settimane)

"dry_run": true| false
Google Cloud Messaging
Server side (RESPOSE)
{
    "multicast_id": 216,
    "success": 3,
    "failure": 3,
    "canonical_ids": 1,
    "results": [
      { "message_id": "1:0408" },
      { "error": "Unavailable" },
      { "error": "InvalidRegistration" },
      { "message_id": "1:1516" },
      { "message_id": "1:2342", "registration_id": "32" },
      { "error": "NotRegistered"}
    ]
}
Google Cloud Messaging
alcune risorse:

● http://developer.android.com/google/gcm/index.html
● https://groups.google.com/forum/?fromgroups#!
    forum/android-gcm
●   <SDK_ROOT>/extras/google/gcm/samples
●   https://plus.google.com/u/0/100229757360577322667/
    http://bit.ly/morettoni_plus

Más contenido relacionado

Similar a GCM aperitivo Android

GCM Android
GCM AndroidGCM Android
GCM Androidaswapnal
 
Gcm presentation
Gcm presentationGcm presentation
Gcm presentationNiraj Singh
 
Android Cloud to Device Messaging Framework at GTUG Stockholm
Android Cloud to Device Messaging Framework at GTUG StockholmAndroid Cloud to Device Messaging Framework at GTUG Stockholm
Android Cloud to Device Messaging Framework at GTUG StockholmJohan Nilsson
 
GCM Technology for Android
GCM Technology for AndroidGCM Technology for Android
GCM Technology for AndroidRanjitha R_14
 
Android Cloud To Device Messaging
Android Cloud To Device MessagingAndroid Cloud To Device Messaging
Android Cloud To Device MessagingFernando Cejas
 
Android cloud to device messaging
Android cloud to device messagingAndroid cloud to device messaging
Android cloud to device messagingFe
 
AC2DM For Security
AC2DM For SecurityAC2DM For Security
AC2DM For SecurityJason Ross
 
Android chat in the cloud
Android chat in the cloudAndroid chat in the cloud
Android chat in the cloudfirenze-gtug
 
Google Cloud Messaging
Google Cloud Messaging Google Cloud Messaging
Google Cloud Messaging Lavakush Verma
 
Android Cloud to Device Messaging with the Google App Engine
Android Cloud to Device Messaging with the Google App EngineAndroid Cloud to Device Messaging with the Google App Engine
Android Cloud to Device Messaging with the Google App EngineLars Vogel
 
GOOGLE CLOUD MESSAGING PPT 2017
GOOGLE CLOUD MESSAGING PPT 2017GOOGLE CLOUD MESSAGING PPT 2017
GOOGLE CLOUD MESSAGING PPT 2017ketan Bordekar
 
FOSS STHLM Android Cloud to Device Messaging
FOSS STHLM Android Cloud to Device MessagingFOSS STHLM Android Cloud to Device Messaging
FOSS STHLM Android Cloud to Device MessagingJohan Nilsson
 
Introduction to google cloud messaging in android
Introduction to google cloud messaging in androidIntroduction to google cloud messaging in android
Introduction to google cloud messaging in androidRIA RUI Society
 
Raspberry pi and Google Cloud
Raspberry pi and Google CloudRaspberry pi and Google Cloud
Raspberry pi and Google CloudFaisal Mehmood
 
Android C2DM Presentation at O'Reilly AndroidOpen Conference
Android C2DM Presentation at O'Reilly AndroidOpen ConferenceAndroid C2DM Presentation at O'Reilly AndroidOpen Conference
Android C2DM Presentation at O'Reilly AndroidOpen ConferenceLars Vogel
 

Similar a GCM aperitivo Android (20)

Magda badita gcm
Magda badita  gcmMagda badita  gcm
Magda badita gcm
 
GCM Android
GCM AndroidGCM Android
GCM Android
 
Gcm presentation
Gcm presentationGcm presentation
Gcm presentation
 
google cloud messaging
google cloud messaginggoogle cloud messaging
google cloud messaging
 
Android Cloud to Device Messaging Framework at GTUG Stockholm
Android Cloud to Device Messaging Framework at GTUG StockholmAndroid Cloud to Device Messaging Framework at GTUG Stockholm
Android Cloud to Device Messaging Framework at GTUG Stockholm
 
GCM for Android
GCM for AndroidGCM for Android
GCM for Android
 
GCM Technology for Android
GCM Technology for AndroidGCM Technology for Android
GCM Technology for Android
 
Android Cloud To Device Messaging
Android Cloud To Device MessagingAndroid Cloud To Device Messaging
Android Cloud To Device Messaging
 
Android cloud to device messaging
Android cloud to device messagingAndroid cloud to device messaging
Android cloud to device messaging
 
Workshop: Android
Workshop: AndroidWorkshop: Android
Workshop: Android
 
AC2DM For Security
AC2DM For SecurityAC2DM For Security
AC2DM For Security
 
Android chat in the cloud
Android chat in the cloudAndroid chat in the cloud
Android chat in the cloud
 
Google Cloud Messaging
Google Cloud Messaging Google Cloud Messaging
Google Cloud Messaging
 
Android Cloud to Device Messaging with the Google App Engine
Android Cloud to Device Messaging with the Google App EngineAndroid Cloud to Device Messaging with the Google App Engine
Android Cloud to Device Messaging with the Google App Engine
 
GOOGLE CLOUD MESSAGING PPT 2017
GOOGLE CLOUD MESSAGING PPT 2017GOOGLE CLOUD MESSAGING PPT 2017
GOOGLE CLOUD MESSAGING PPT 2017
 
FOSS STHLM Android Cloud to Device Messaging
FOSS STHLM Android Cloud to Device MessagingFOSS STHLM Android Cloud to Device Messaging
FOSS STHLM Android Cloud to Device Messaging
 
Introduction to google cloud messaging in android
Introduction to google cloud messaging in androidIntroduction to google cloud messaging in android
Introduction to google cloud messaging in android
 
A Journey into Google Cloud Messaging
A Journey into Google Cloud MessagingA Journey into Google Cloud Messaging
A Journey into Google Cloud Messaging
 
Raspberry pi and Google Cloud
Raspberry pi and Google CloudRaspberry pi and Google Cloud
Raspberry pi and Google Cloud
 
Android C2DM Presentation at O'Reilly AndroidOpen Conference
Android C2DM Presentation at O'Reilly AndroidOpen ConferenceAndroid C2DM Presentation at O'Reilly AndroidOpen Conference
Android C2DM Presentation at O'Reilly AndroidOpen Conference
 

Último

[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 

Último (20)

[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 

GCM aperitivo Android

  • 1. Google Cloud Messaging for Android Luca Morettoni <luca@morettoni.net>
  • 2. Google Cloud Messaging Aggiornare i dati delle APP: ● Polling; ● Notifiche PUSH. Vantaggi delle notifiche PUSH: ● Minor consumo di risorse (batteria/banda); ● Aggiornamenti (quasi) real-time; ● L'applicazione non deve essere attiva.
  • 3. Google Cloud Messaging Limiti/richieste di GCM: ● Android 2.2 o superiore; ● Google Play Store installato; ● L'utente deve avere almeno un profilo Google configurato (per versioni < 4.0.4); ● Payload dal server alle app limitato (~4K).
  • 5. Google Cloud Messaging Invio di notifiche 1 2 3
  • 6. Google Cloud Messaging Prima di cominciare: https://code.google.com/apis/console 1. Prendete nota dell'ID del progetto (nella URL); 2. Attivate il servizio Google Cloud Messaging; 3. Create una nuova chiave per il server.
  • 7. Google Cloud Messaging Android side: 1. Registrare il device sui server GCM; 2. Ottenere il device ID; 3. Inviare il device ID al proprio server; 4. Attendere le notifiche!
  • 8. Google Cloud Messaging AndroidManifest.XML <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="17"/> <permission android:name="net.morettoni.terremoto.permission.C2D_MESSAGE" android: protectionLevel="signature" /> <uses-permission android:name="net.morettoni.terremoto.permission.C2D_MESSAGE" /> <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" /> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.GET_ACCOUNTS" /> <uses-permission android:name="android.permission.WAKE_LOCK" /> <receiver android:name="com.google.android.gcm.GCMBroadcastReceiver" android: permission="com.google.android.c2dm.permission.SEND" > <intent filter> <action android:name="com.google.android.c2dm.intent.RECEIVE" /> <action android:name="com.google.android.c2dm.intent.REGISTRATION" /> <category android:name="net.morettoni.terremoto" /> </intent-filter> </receiver> <service android:name=".GCMIntentService" />
  • 9. Google Cloud Messaging Registrazione GCMRegistrar.checkDevice(this); GCMRegistrar.checkManifest(this); final String regId = GCMRegistrar.getRegistrationId(this); if (regId.equals("")) { GCMRegistrar.register(this, ID_PROGETTO); } else { // controlliamo se siamo registrati sul nostro server if (!GCMRegistrar.isRegisteredOnServer(this)) ... } }
  • 10. Google Cloud Messaging GCMIntentService public class GCMIntentService extends GCMBaseIntentService { protected void onError(Context context, String errorId) {} protected void onMessage(Context context, Intent intent) {} protected void onRegistered(Context context, String registrationId) {} protected void onUnregistered(Context context, String registrationId) {} }
  • 11. Google Cloud Messaging Server side 1. Effettuare un POST al server GCM; 2. Eliminare/aggiornare i device ID.
  • 12. Google Cloud Messaging Server side (POST) https://android.googleapis.com/gcm/send header: Authorization: key= CHIAVE_SERVER Content-Type: application/json body: { registration_ids: ['device_1', 'device2', ..., 'device1000'], collapse_key: 'key', data: { 'payload_data': 'ABC123...' } }
  • 13. Google Cloud Messaging Altri campi "interessanti": "delay_while_idle": true| false "time_to_live": seconds (default 4 settimane) "dry_run": true| false
  • 14. Google Cloud Messaging Server side (RESPOSE) { "multicast_id": 216, "success": 3, "failure": 3, "canonical_ids": 1, "results": [ { "message_id": "1:0408" }, { "error": "Unavailable" }, { "error": "InvalidRegistration" }, { "message_id": "1:1516" }, { "message_id": "1:2342", "registration_id": "32" }, { "error": "NotRegistered"} ] }
  • 15. Google Cloud Messaging alcune risorse: ● http://developer.android.com/google/gcm/index.html ● https://groups.google.com/forum/?fromgroups#! forum/android-gcm ● <SDK_ROOT>/extras/google/gcm/samples ● https://plus.google.com/u/0/100229757360577322667/ http://bit.ly/morettoni_plus