android - Can you show a public leaderboard without calling to GamesClient.connect()? -


is possible show leaderboard game if user not logged in google plus?

i'm using gamesclient, , seems need call connect() first , have them log in:

http://developer.android.com/reference/com/google/android/gms/games/gamesclient.html#connect()

before can use:

http://developer.android.com/reference/com/google/android/gms/games/gamesclient.html#getallleaderboardsintent()

but i've noticed vast majority of users don't choose connect.

i'm thinking it'd nice show public leaderboard if user not connected. them interested in connecting gplus , competing.

thanks

this not possible.

you can show leader-borads in 2 ways: pre-build intent provided sdk, need call intent , magic arises. , calling gamesclient.loadleaderboardmetadata(...) method returns json leader-boards (then you'll have call gamesclient.loadtopscores() or 1 of variants scores).

the problem both methods info public charts , social ones, before getting info, service needs know player is.

you can request add enhancement sdk.


Comments

Popular posts from this blog

java - JavaFX 2 slider labelFormatter not being used -

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -