I have problem in creating API Key because the options "create new server key" and "create new browser key " were not in the API access page. whether I should pay for using that.
"App Engine Backend with Google Cloud Messaging" Template. Google Cloud Messaging (GCM) is a service that allows you to send push notifications from your server to your users' Android devices, and also to receive messages from devices on the same connection.
In cryptography, Galois/Counter Mode (GCM) is a mode of operation for symmetric-key cryptographic block ciphers which is widely adopted for its performance.
Normally after creating a project and saving a project # you click on Services on the left panel and turn on Google Cloud Messaging for Android. Then you should see this screen:
Click on API Access and note down the API Key marked on the picture
EDIT: Here is the link to the full article that describes this process in details: http://www.androidhive.info/2012/10/android-push-notifications-using-google-cloud-messaging-gcm-php-and-mysql/
The screenshots previously posts provide a great visual, but here are the steps I've taken when setting it up:
Go to http://developer.android.com/guide/google/gcm/gs.html
1 - Login with a google account
2 - Click 'Create project...' if you have not already done so.
3 - When you get to a page with a left side nav, make sure 'Services' is selected
4 - Turn 'Google Cloud Messaging for Android' ON
5 - Click on the 'Google Cloud Messaging for Android' link
6 - Click on the 'API Access' link in the left nav
7 - You should now be able to create a new server or browser key by clicking the corresponding button
The easiest way is now login with your account on: https://developers.google.com/mobile/add and use wizard :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With