$30 off During Our Annual Pro Sale. View Details »

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
Tweet

More Decks by Jomar Tigcal

Other Decks in Technology

Transcript

  1. Google Play Services
    Jomar Tigcal
    November 9, 2013

    View Slide

  2. Jomar Tigcal
    ● GDG Philippines Community Manager
    ● Mobile Apps Developer
    ● Android Developer at Stratpoint
    Technologies, Inc.
    ● Have personal apps in the Google Play
    Store

    View Slide

  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

    View Slide

  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

    View Slide

  5. Google Play Services
    ● Google Location APIs
    ● Google Maps v2
    ● Google+ Signin
    ● Google Games
    ● Google Cloud Messaging (GCM)
    ● and more...

    View Slide

  6. Google Play Services
    Image Source: http://developer.android.com/images/play-services-diagram.png

    View Slide

  7. Installing Google Play Services SDK

    View Slide

  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

    View Slide

  9. Setting up Google Play Services
    SDK
    ● Import the Google Play Services Lib into
    your workspace
    (sdk>/extras/google/google_play_services/libpro
    ject/google-play-services_lib/)
    ● Reference the library project in your Android
    project

    View Slide

  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,

    View Slide

  11. Location APIs
    ● Fused location
    provider
    ● Geofencing APIs
    ● Activity recognition
    Image Source: http://developer.android.com/google/play-services/location.html

    View Slide

  12. Location APIs
    Location API Reference
    http://developer.android.
    com/images/google/gps-location.png

    View Slide

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

    View Slide

  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/

    View Slide

  15. Google+
    Image Source: http://developer.android.com/google/play-services/plus.html

    View Slide

  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

    View Slide

  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

    View Slide

  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

    View Slide

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

    View Slide

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

    View Slide

  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

    View Slide

  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/

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide