This is useful for handling Google Play Services APIs that may have to show UI to the user
before returning their results back. Note that only APIs whose results implement the
AutoResolvableResult
are compatible with this helper.

Below is an example of an hypothetical loadFoo API that returns a
FooResult but that may require the user to consent to sharing the resultData in
FooResult the first time before returning it to you.

You will receive resultCode equal to RESULT_OK
when the call has been successful and you should be able to retrieve the actual result
object from the resultData param. By convention result classes that can be
used with this helper should have a getFromIntent(Intent) method that you can
use to retrieve the result object.

You will receive resultCode equal to RESULT_CANCELED
when the user has cancelled the UI that this helper has shown.

Note that this method adds a Fragment to
your activity, so only call this method if FragmentManager
is in a state where it can execute fragment transactions without state loss. The added
fragment will be auto removed after the task result is delivered to your activity.