AndroidPushNotificationsusingGoogleCloudMessaging (GCM

Source: Internet
Author: User
Www. androidhive. info201210android-push-notifications-using-google-cloud-messaging-gcm-php-and-mysql according to the steps in the link to achieve the GCM-HTTP in the client and appserver between the deployment, link for the students to reference. When porting data from a local Server to a webserver

Http://www.androidhive.info/2012/10/android-push-notifications-using-google-cloud-messaging-gcm-php-and-mysql/ according to the steps in the link, to achieve the GCM-HTTP in the client and app server between the deployment, link for the students to reference. When porting data from a local Server to a web server

Http://www.androidhive.info/2012/10/android-push-notifications-using-google-cloud-messaging-gcm-php-and-mysql/

According to the steps in the link, the GCM-HTTP is deployed between the client and the app server.


Problems encountered when porting data from a local Server to a web server:

1. The Google Api Key is bound to the server IP address. Therefore, when you change the local IP address to the Web address, you need to apply for a new Google Api Key;

2. If the server CURL is unavailable, the push will fail and the CURL module needs to be installed.

Reference link:

Http://stackoverflow.com/questions/22004716/gcm-is-not-working-on-live-server

Http://stackoverflow.com/questions/2939820/how-to-enable-curl-installed-ubuntu-lamp-stack

Http://www.2cto.com/ OS /201102/84031.html

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.