简体   繁体   中英

Android NEW GCM PUSH (With Google Play Services)

Is there anyone succeeded to Push GCM Message [Using Google Play Services] to Your Device?

this new gcm is really annoys me , i have research it for like 10 days non stop , and there is not a single link except

https://code.google.com/p/gcm/source/browse/#git%2Fgcm-client%2Fsrc%2Fcom%2Fgoogle%2Fandroid%2Fgcm%2Fdemo%2Fapp

that could help me with the latest gcm push.

I've surfed for every tutorial i could open , and they all keep telling about C2DM (with GCMRegistrar)

i think this GCM Push is released in this August 2013 , that's why it would really a pain in the ass when i try to look for its tutorial

that's why , please help to answer my questions

why is my device doesn't receive any GCM Message even though i've received this

{"multicast_id":5297321084194982891,"success":1,"failure":0,"canonical_ids":0,"results":[{"message_id":"0:1378179100955867%77ddec76f9fd7ecd"}]}

as response from GCM when my server send it to GCM

closed , i've found the problem

the problem was never in the code, it was in the OS

try to use OS 3.0 or higher , it should work well

learn more here :

Device Doesn't Receive message from NEW Google Cloud Messaging (NEW GCM)

官方文档包含使用新的GoogleCloundMessaging API 实现GCM客户端的教程。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM