GDG DevFest Baguio 2013 - Google Play Services

57b162d778f0284d2dfe1dbaabd4434e?s=47 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

57b162d778f0284d2dfe1dbaabd4434e?s=128

Jomar Tigcal

November 09, 2013
Tweet

Transcript

  1. Google Play Services Jomar Tigcal November 9, 2013

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

    Developer • Android Developer at Stratpoint Technologies, Inc. • Have personal apps in the Google Play Store
  3. 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
  4. 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
  5. Google Play Services • Google Location APIs • Google Maps

    v2 • Google+ Signin • Google Games • Google Cloud Messaging (GCM) • and more...
  6. Google Play Services Image Source: http://developer.android.com/images/play-services-diagram.png

  7. Installing Google Play Services SDK

  8. 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
  9. 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
  10. 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,
  11. Location APIs • Fused location provider • Geofencing APIs •

    Activity recognition Image Source: http://developer.android.com/google/play-services/location.html
  12. Location APIs Location API Reference http://developer.android. com/images/google/gps-location.png

  13. Google Maps for Android v2 Image Source: http://developer.android.com/google/play-services/maps.html

  14. Google Maps for Android v2 API Reference: http://developer.android. com/reference/com/google/android/gms/maps/ package-summary.html

    Documentation: https://developers.google. com/maps/documentation/android/
  15. Google+ Image Source: http://developer.android.com/google/play-services/plus.html

  16. Google+ Google+ Android API Reference: http://developer.android. com/reference/com/google/android/gms/plus/pa ckage-summary.html Documentation: https://developers.google.com/+/mobile/android

    Image Source: http://developer.android.com/google/play-services/plus.html
  17. 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
  18. Google Play Games Documentation: https://developers.google.com/games/services/ API Reference: http://developer.android. com/reference/com/google/android/gms/games /package-summary.html

  19. Google Mobile Ads SDK Image Source: http://developer.android.com/google/play-services/ads.html

  20. Google Mobile Ads SDK API Reference: http://developer.android.com/reference/gms- packages.html Documentation: http://developers.google.com/mobile-ads-sdk

  21. 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
  22. Google Wallet Instant Buy API Reference: http://developer.android. com/reference/com/google/android/gms/wallet/ package-summary.html Documentation:

    https://developers.google.com/wallet/instant- buy/
  23. References http://developer.android.com/google/play- services/index.html Google Play Services Reference http://developer.android.com/reference/gms- packages.html

  24. Questions? Image Source: http://www.talkandroid.com/35960-google-test-market-accidentally-released-reviewed-quickly-pulled/

  25. Thank you very much! http://jomar.tigcal.com jomar@tigcal.com http://google.com/+JomarTigcal @jomartigcal