GCM push notification with android [closed]

六眼飞鱼酱① 提交于 2019-12-22 08:39:10

问题


Recently, I've tried to learn GCM and make a test application that will get the push notification for android through androids official site. However, I find the tutorial difficult for me. Are there any simple and easy tutorial for a novice like me to learn GCM push notification without the use of a server for android ?


回答1:


there are lots of tutorial for GCM, here are some one :

  1. https://developer.android.com/google/gcm/index.html
  2. https://developer.android.com/google/gcm/client.html
  3. http://developer.android.com/google/gcm/gs.html
  4. http://javapapers.com/android/google-cloud-messaging-gcm-for-android-and-push-notifications/
  5. http://www.androidhive.info/2012/10/android-push-notifications-using-google-cloud-messaging-gcm-php-and-mysql/

I hope above point will help you.




回答2:


https://console.developers.google.com/ Click the above link to registered the application and On "Google Cloud Messaging for Android" API. Copy the Browser Key and Sender/Project Key.

Follow a follwing link.

http://www.androidhive.info/2012/10/android-push-notifications-using-google-cloud-messaging-gcm-php-and-mysql/ https://developer.android.com/google/gcm/server.html



来源:https://stackoverflow.com/questions/28525967/gcm-push-notification-with-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!