Start integrating Google+ into your Android app

Before you can start integrating Google+ features in your own app, you must create a Google Developers Console project and initialize the GoogleApiClient within your app. The steps on this page do just that. The next steps then describe how to integrate Google+ features into your app.

You can try out the quick-start sample app if you would like to quickly experiment with features of the platform.

Step 1: Add Google Sign-In

Before you begin using Google+ in your Android app, follow all of the steps to Start Integrating Google Sign-In into your Android App.

Step 2: Enable the Google+ API

If you followed the steps above to add Google Sign-In to your app, you have already created a project in Google Developers Console. Now you need to enable the Google+ API for that project in order to begin accessing Google+ features.

  1. Go to the Google Developers Console .
  2. Navigate to the project you previously created.
  3. In the left sidebar, select APIs & auth (the APIs sub-item is automatically selected).
    1. Find the Google+ API and set its status to ON—notice that this action moves Google+ API to the top of the list; you can scroll up to see it.

Next steps

Now that you have added GoogleApiClient to your activity, you can integrate your choice of Google+ features to your app:

Frequently asked questions

How do I continue to support older platforms, such as Eclair (v2.0)?

Check system version at runtime, and only call GoogleApiClient if the version is Android 2.3 (Gingerbread) or higher.

    // Make the call to GoogleApiClient
How do I check to see if the Google+ app is installed on the device?

The GooglePlusUtil#checkGooglePlusApp utility method returns GooglePlusUtil.SUCCESS if the Google+ app is installed. If the app is not installed, you can prompt the user to install the app with the GooglePlusUtil#getErrorDialog utility method.

int errorCode = GooglePlusUtil.checkGooglePlusApp(this);
if (errorCode != GooglePlusUtil.SUCCESS) {
  GooglePlusUtil.getErrorDialog(errorCode, this, 0).show();
How do I debug my Google+ integration?

By enabling logging, you can diagnose network issues when working with the Google APIs.

To enable logging, run the following command:

adb shell setprop log.tag.GooglePlusPlatform VERBOSE

To disable logging, run the following command:

adb shell setprop log.tag.GooglePlusPlatform ""

Send feedback about...

Google+ Platform for Android
Google+ Platform for Android