Versions Compared

Key

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

childrenIn this manual we will describe how to integrate Google Cloud Messaging (GCM) within your app and later how to integrate with 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:

  1. Step A - Creating a Google API
  2. Step B - Enabling the GCM Service
  3. Step C - Obtaining an API Key
  4. Step D - Creating an Android App in Appoxee

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 Added

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.



Image Added

Step B: Enabling the GCM Service

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

Image Added

  1. Turn the Google Cloud Messaging toggle to ON.

Image Added

  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.


Image Added

Step D: Creating an Android App in Appoxee

  1. Log in to your Appoxee account.
  2. Click on the Apps tab and select Add Application.
    Image Added
  3. In the top left of the form, select the Android icon.
  4. Enter your Google Project ID and Google API Key.
  5. Enter your App Name.
  6. To enable your application's inbox, check Allow inbox + Rich messages. 
    The Inbox feature guarantees your ability to engage the user with rich messages (note that the Inbox cannot be disabled by users, as opposed to Push Notifications) and gives you the option to access features such as Feedback and More Apps . The Inbox must be used in your application's code in order to show it and utilise its features (see Android SDK integration Instructions Step 5).
    Image Added
  7. Under Settings section, choose features and settings you wish to enable, including:
      • 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 Added


    Next Step : Android SDK integration Instructions