   activity. To handle this result, override the method
    <code><a href="../../reference/android/support/v4/app/FragmentActivity.html#onActivityResult(int, int, android.content.Intent)">onActivityResult()</a></code>.
</p>
<p>
    Since you usually need to check for Google Play services in more than one place in your code,
    define a method that encapsulates the check, then call the method before each connection
    attempt. The following snippet contains all of the code required to check for Google
    