Jomar Tigcal ● GDG Philippines Community Manager ● Mobile Apps Developer ● Android Developer at Stratpoint Technologies, Inc. ● Have personal apps in the Google Play Store
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
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
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
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
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,
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/
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
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
Google Mobile Ads SDK API Reference: http://developer.android.com/reference/gms- packages.html Documentation: http://developers.google.com/mobile-ads-sdk
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
References http://developer.android.com/google/play- services/index.html Google Play Services Reference http://developer.android.com/reference/gms- packages.html