com.google.android.gms.common | Android Developers

Quicknav Quicknav
Links

- Google Play Developer Console
- Android Developers Blog
- About Android

Android Sites

- Android.com
- Android Developers
- Android Open Source Project

Language
close

- - Get Started
  - Style
  - Patterns
  - Building Blocks
  - Downloads
  - Videos
- - Training
  - API Guides
  - Reference
  - Tools
    - Get the SDK
  - Google Services
- - Google Play
  - Publishing
  - Promoting
  - App Quality
  - Spotlight
  - Open Distribution

## Results

Loading...
package

# com.google.android.gms.common

Contains utility classes for Google Play services.

## Interfaces

GooglePlayServicesClient |
GooglePlayServicesClient.ConnectionCallbacks | Provides callbacks that are called when the client is connected or disconnected from the service.
GooglePlayServicesClient.OnConnectionFailedListener | Provides callbacks for scenarios that result in a failed attempt to connect the client to the service.

## Classes

AccountPicker | Common account picker similar to the standard framework account picker introduced in ICS: `newChooseAccountIntent`.
ConnectionResult | Contains all possible error codes for when a client fails to connect to Google Play services.
GooglePlayServicesUtil | Utility class for verifying that the Google Play services APK is available and up-to-date on this device.
Scopes | OAuth 2.0 scopes for use with Google Play services.
SignInButton | The Google sign-in button to authenticate the user.

## Exceptions

GooglePlayServicesNotAvailableException | Indicates Google Play services is not available.