Suleiman

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

8
Leave a Reply

avatar
7 Comment threads
1 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
6 Comment authors
SuleimanRichard DavisGuy DviriBhuvanesh BhuvanPriya Sharma Recent comment authors
  Subscribe  
Notify of
Richard Davis
Guest
Richard Davis

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

Guy Dviri
Guest
Guy Dviri

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

is dont work any more.

Bhuvanesh Bhuvan
Guest
Bhuvanesh Bhuvan

@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

Priya Sharma
Guest
Priya Sharma

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();

Priya Sharma
Guest
Priya Sharma

How to get client sceret key? Please help

Bee
Guest
Bee

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

Bee
Guest
Bee

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