Saturday 30 November 2013

GCM PushNotification in Android

Today we learn how to setup GCM push Notification in appcelerator for android.

In this whole process i divided in to 3 steps.

Here we go to start that how configure it.

1) First Step :
     Open this link https://developers.google.com/console/
     than login with you account. Create a new project

    i) "Creating a Google API Project",
    ii)"Enabling the GCM Service"
    iii)"Obtaining an API Key"


Image snap link : http://1.bp.blogspot.com/-AKAcUDtW0gg/UlK8rcpqUQI/AAAAAAAACuI/aq89OFZc2C4/s1600/all_steps.png

2) Second Step :
      Click on this link https://cloud.google.com/console#/project
     You can found you project that you already created.
     Just Click on that and you found the Example: Project Number: 91060sdsdgsd

3) Third Step :
    Now next step open this url https://my.appcelerator.com/apps
    Login with your appcelerator account where you want to configure this vcm.
    Click on your project than at the top side there are two option (Production/Development).
    Click on Development. Now the main menu box will open in that there is 2nd (Second) tab            click on that.
    Now you found in that page Android Push Configuration
    please fill this both fields
    i) Google Cloud Messaging(GCM) API Key:
    ii)Google Cloud Messaging (GCM) sender ID:


when you finish this process you can register use or create user with this code.

Code : ) https://github.com/dharmik/GCM-PushNotification

If any one need help in this please leave comment i will surely help you.

Thanks,
Dharmik

No comments:

Post a Comment