Suleiman

Empathetic Designer and Mobile App Developer focused on creating clear, simple and engaging experiences for people.

11 Responses

  1. Anthonny says:

    Thank you so much, I spent a lot of time and finally I found it!! 😀

  2. Sreyash Gaonkar says:

    Is there a Kotlin code for this ??

  3. Richard Davis says:

    Thanks.
    This is the only one that worked.
    All the other methods I found through various posts were outdated, due to the deprecation of Google Plus API I tried for days.
    Note to somebody else trying. If you want to integrate this in an existing app you must make it work its not just copying and pasting.
    Thanks again

  4. Guy Dviri says:

    return new People.Builder(httpTransport, jsonFactory, credential)
    .setApplicationName(APPLICATION_NAME)
    .build();

    is dont work any more.

  5. Bhuvanesh Bhuvan says:

    @disqus_TPD8mpYmRO:disqus i am also getting same error. token response is null. i donno why. searching for verly long time. unable to find. if anyone knows the solution please tell immediately. Thanks in advance

  6. Priya Sharma says:

    Caused by: java.lang.NullPointerException
    com.google.api.client.repackaged.com.google.common.base.Preconditions.checkNotNull

    GoogleTokenResponse tokenResponse = new GoogleAuthorizationCodeTokenRequest(
    httpTransport,
    jsonFactory,
    context.getString(R.string.clientID),
    context.getString(R.string.clientSecret),
    serverAuthCode,
    redirectUrl).execute();

  7. Priya Sharma says:

    How to get client sceret key? Please help

  8. Bee says:

    Thanks for this nice tutorial. I have an issue with the signed apk, missing required parameter:code, what is that meant?

  9. Bee says:

    I alwast got null for the response.getConnections(); in Asyntask, what reason causing the null response connections ?

Leave a Reply

Your email address will not be published. Required fields are marked *