Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In this manual we will describe how to integrate Google Cloud Messaging (GCM) within your app and later how to integrate with This document explains how to setup an application that enables sending and receiving Android Push Notifications, and then adding this application to the Appoxee messaging service in your app.  http://developer.android.com/guide/google/gcm/index.html 
It is recomended to have two Appoxee Applications for each one of your apps. One for development and one for Production. This way you will always be able to send test messages and to test all the functionalities without affecting the Production app. 
Below are the steps for enabling Android push notifications:

...

Step A: Creating a Google API project

  1. Open the Google APIs Console page.
  2. If you haven't created an API project yet, this page will prompt you to do so
    Image Removed

Note:

       If you already have existing projects, the first page you see will be the Dashboard 
       page. From there you can create a new project by opening the project drop-down menu (upper left corner) and choosing Other projects > Create.
  1. Click create project
  2. Open the Google APIs Console page, make sure your project is selected and take a note of the project id. This is your project number, and it will be used later on within the Application Settings in the Appoxee dashboard.

...

Step B: Enabling the GCM Service

  1. In the main Google APIs Console page, select "Services".

Image Removed

  1. Turn the Google Cloud Messaging toggle to ON.

Image Removed

  1. On the "Terms of Service" page, accept the terms

Step C: Obtaining an API Key

  1. On the main Google APIs Console page, select "API Access".
  2. Click "Create new browser key".
  3. Take a note of the API key value as it will be used later on.

...

Step D: Creating an Android App in Appoxee

...

    • Allow feedback - improves your application's rating in Google Play.
    • Allow more apps - shows the user additional applications you released, allowing the user to easily install them.Image Removed

...

The application setup process consists of the following steps:

  • Step A: Google Setup for Appoxee Standalone – allow your app to send and receive Push Notifications.
    This is done by creating an Android app, get a Google Project ID and an API key, and then enable the Google Cloud Messaging (GCM) service. 
Note

An application has two environments: Development and Production.
Since GCM serves all Push notifications, you must distinguish between the Development and Production environments through your Appoxee setup.
The best practice is to create a separate app for each environment (these two apps may share the same Google Project ID and API key).

Once you complete the Android Application Setup process, your next task is to add Push notifications to your code (see Appoxee Android SDK Integration).