更新时间:2022-12-21 10:58:52
请参见 http://developer.android.com/guide/google/gcm/index.html 。您需要实现GCM。
Please see http://developer.android.com/guide/google/gcm/index.html. You need to implement GCM.
编辑:
要得到通知,即使应用程序在后台,看到Android GCM(推送通知):如果应用程序停止设备没有收到通知
To get notification even if app is in background, see Android GCM (push notification): device doesn't receive notification if application is stopped.
请参阅的Android GCM基本实现,的 http://developer.android.com/guide/google/gcm/demo.html &安培; How设置谷歌云端通讯的Android?
See Android GCM basic implementation, http://developer.android.com/guide/google/gcm/demo.html & How to setup Google Cloud Messaging for Android?