Registering with Google Cloud Messaging
- Goto Google APIs Console page and create a new project. (If you haven’t created already otherwise it will take you to dashboard)
- After creating project you can see the project id in url. Note down the project id which will be used as SENDER ID in android project. (Example: in #project/encoded-region-847 after semicolon encoded-region-847 is the sender id)
- After that click on APIs & auth --> APIs on the left panel and turn on Google Cloud Messaging for Android.
- Once you are done, click on Credentials and Create new Key in Public API access and Select Browser key. Leave empty and Create key.
- This API key will be used when sending requests to GCM server.
0 comments:
Post a Comment