Hello Friends,
Today i will show you how to integrate GCM in android app.
For this i will make an app server in java servlet.
steps to follow
- Go to Google Developers Console
- Build GCM Client an android app
- Build GCM Server java app server
Google Developers Console is a place where you activate Google services that you want to integrate in your application.
steps to follow
- 1 Create a Project
- 2 Get Project Number
- 3 Enable Google Cloud Messaging for Android
- 4 Create Server API Key
Go to Google Developers Console
Give your project name
You will get your project number note it down...
go to APIs and enable Google Cloud Messaging for Android
go to Credentials
Click at Server Key to generate Server Key
Type "my public ip address" at google and note down your public ip address
do as the following image...
Finally you will get your server key note it down
Note down your Server key and Project Number.
For GCM client click here
No comments:
Post a Comment