Upgrade to Pro — share decks privately, control downloads, hide ads and more …

GDG DevFest Baguio 2013 - Google Play Services

Jomar Tigcal
November 09, 2013

GDG DevFest Baguio 2013 - Google Play Services

The slides I used in my talk about Google Play Services during the GDG DevFest Cordillera-Baguio last November 9, 2013

Jomar Tigcal

November 09, 2013

More Decks by Jomar Tigcal

Other Decks in Technology


  1. Jomar Tigcal • GDG Philippines Community Manager • Mobile Apps

    Developer • Android Developer at Stratpoint Technologies, Inc. • Have personal apps in the Google Play Store
  2. Google Play Services • Available on Android 2.2 (Froyo) and

    above • Android devices that have Google Play • Automatically updates itself • Allows you to use the newest Google APIs Image Source: https://play.google.com/store/apps/details?id=com.google.android.gms
  3. Google Play Services 4.0 ❖ Released October 31, 2013 ❖

    Android 2.3 (Gingerbread) and above Updates: • New: Google Mobile Ads SDK • Improved: Maps and Geofencing APIs • Improved: Google+ • New: Google Wallet Instant Buy
  4. Google Play Services • Google Location APIs • Google Maps

    v2 • Google+ Signin • Google Games • Google Cloud Messaging (GCM) • and more...
  5. Installing Google Play Services SDK • Launch the SDK Manager

    • Look for Extras then select Google Play Services • Click the Install packages… button If you will be using emulator: • Install Android 4.2.2 Google APIs • Create an AVD (emulator) using Android 4.2.2 Google APIs
  6. Setting up Google Play Services SDK • Import the Google

    Play Services Lib into your workspace (<android- sdk>/extras/google/google_play_services/libpro ject/google-play-services_lib/) • Reference the library project in your Android project
  7. Check if device has Google Play Services APK public static

    int GooglePlayServicesUtil. isGooglePlayServicesAvailable(Context context) ConnectionResult.SUCCESS ConnectionResult.SERVICE_MISSING ConnectionResult. SERVICE_VERSION_UPDATE_REQUIRED ConnectionResult.SERVICE_DISABLED,
  8. Location APIs • Fused location provider • Geofencing APIs •

    Activity recognition Image Source: http://developer.android.com/google/play-services/location.html
  9. Google Play Games • Achievements • Leaderboards (Daily, Weekly, and

    All-time high scores) • Cloud Save APIs • Real-time multiplayer games Image Source: http://developer.android.com/google/play-services/games.html
  10. Google Wallet Instant Buy • New in Google Play Services

    4.0 • Add the “Buy with Google” button • Streamline Purchases with Google+ Sign-On • Minimize User Data Entry Image Source: http://developer.android.com/google/play-services/wallet.html