Android Question Google Sign In to Application

jazzzzzzz

Active Member
Licensed User
Longtime User
How can i use google sign into my application,Am new to this field..Any one done this into app?
 

Computersmith64

Well-Known Member
Licensed User
Longtime User
There have been a couple of wrappers written for Google Play Games Services - originally by NJ Dude, then more recently by Informatix (his library can be found here). I don't know if you can implement GPGS in B4A using direct Java calls - I think it's probably way too complex.

I have used NJ Dude's library for Achievements & Leaderboards & find it works well - even though it uses v14 of the GPGS API. The problem with it is that it doesn't work for multiplayer games over Google Play.

Informatix's library does have an implementation of multiplayer (although I think only turn-based (I could be wrong)), plus Achievements & Leaderboards, but I was never able to get it working successfully in any of my projects, so I ended up just using NJ Dude's one & gave up trying to put multiplayer in any games - except for a recently released a Tic-Tac-Toe game developed with Android Studio & featuring real-time multiplayer using GPGS - but that doesn't really help you.

I'd say start with the link to Informatix's library & also search the forum for NJ Dude's & see where that takes you.

- Colin.
 
Upvote 0

jazzzzzzz

Active Member
Licensed User
Longtime User
There have been a couple of wrappers written for Google Play Games Services - originally by NJ Dude, then more recently by Informatix (his library can be found here). I don't know if you can implement GPGS in B4A using direct Java calls - I think it's probably way too complex.

I have used NJ Dude's library for Achievements & Leaderboards & find it works well - even though it uses v14 of the GPGS API. The problem with it is that it doesn't work for multiplayer games over Google Play.

Informatix's library does have an implementation of multiplayer (although I think only turn-based (I could be wrong)), plus Achievements & Leaderboards, but I was never able to get it working successfully in any of my projects, so I ended up just using NJ Dude's one & gave up trying to put multiplayer in any games - except for a recently released a Tic-Tac-Toe game developed with Android Studio & featuring real-time multiplayer using GPGS - but that doesn't really help you.

I'd say start with the link to Informatix's library & also search the forum for NJ Dude's & see where that takes you.

- Colin.
thats for google play game service..that sign in is for play games.What i need is google sign in (retrieving email profile pic and all)..Any way thanks for mentioning
 
Upvote 0

Computersmith64

Well-Known Member
Licensed User
Longtime User
thats for google play game service..that sign in is for play games.What i need is google sign in (retrieving email profile pic and all)..Any way thanks for mentioning

Yeah - sorry, I missed that you were looking for Google Plus instead of Games, however the process for signing in is exactly the same & probably too complex to implement without a wrapper library.

- Colin.
 
Upvote 0

Computersmith64

Well-Known Member
Licensed User
Longtime User
I confirm.


What was the problem?
It was so long ago, that I don't recall the details - but I recall not being able to even get a successful sign in at the time. I know we posted back & forth about it at the time, but I never was able to get it to work. Probably just something I did or didn't do.

- Colin.
 
Upvote 0

Informatix

Expert
Licensed User
Longtime User
It was so long ago, that I don't recall the details - but I recall not being able to even get a successful sign in at the time. I know we posted back & forth about it at the time, but I never was able to get it to work. Probably just something I did or didn't do.

- Colin.
I forgot too.
I completely rewrote the wrapper for API 19 (now it's for API 29). Did you try the new version?
 
Upvote 0

Computersmith64

Well-Known Member
Licensed User
Longtime User
I forgot too.
I completely rewrote the wrapper for API 19 (now it's for API 29). Did you try the new version?
I don't think I did. I'll take a look at it next time I'm working on one of my projects that uses GPGS & let you know how it goes.

- Colin.
 
Upvote 0
Top