google-play-games

Google-Play-Services: Creating custom waiting room UI

不羁的心 提交于 2020-02-14 13:24:02
问题 I am about to implement a real-time-multiplayer for my android application with the google play games services and got some problems to listen to room updates. Iam not that experienced, so please forgive the possible understanding problems. My intention is that I need to get informed, if anybody has joined my recently created room or created another room himself with the same variant as my room. I have tried to listen on the RoomStatusUpdateListener, but after I created a room, this listener

Google-Play-Services: Creating custom waiting room UI

只愿长相守 提交于 2020-02-14 13:23:09
问题 I am about to implement a real-time-multiplayer for my android application with the google play games services and got some problems to listen to room updates. Iam not that experienced, so please forgive the possible understanding problems. My intention is that I need to get informed, if anybody has joined my recently created room or created another room himself with the same variant as my room. I have tried to listen on the RoomStatusUpdateListener, but after I created a room, this listener

Google-Play-Services: Creating custom waiting room UI

故事扮演 提交于 2020-02-14 13:22:50
问题 I am about to implement a real-time-multiplayer for my android application with the google play games services and got some problems to listen to room updates. Iam not that experienced, so please forgive the possible understanding problems. My intention is that I need to get informed, if anybody has joined my recently created room or created another room himself with the same variant as my room. I have tried to listen on the RoomStatusUpdateListener, but after I created a room, this listener

Unity3d, GooglePlayServices and PlayGamesPlatform.Instance.LoadScores - can't write values to variable

孤街醉人 提交于 2020-02-08 03:08:27
问题 I'm trying to learn how to use GooglePlayServices in Unity but i have a little problem that i can't handle. So i can get all information from leaderboard and prompt it in Log but i can't do enything else. Here is my code: IScore[] scoresFromLeaderboard = null; PlayGamesPlatform.Instance.LoadScores( GPGSIds.leaderboard_highscore_leaderboard, LeaderboardStart.TopScores, 10, LeaderboardCollection.Public, LeaderboardTimeSpan.AllTime, (data) => { scoresFromLeaderboard = data.Scores; Debug.Log(

For online Android games, what services are available to ensure the integrity of the APK file to prevent cheating?

[亡魂溺海] 提交于 2020-01-25 07:55:26
问题 Suppose I develop an online game that interacts with a server for Android. What I want to ensure is that the APK file running on a given users' device is the APK that I have uploaded to the Google Play Store. (Meaning, I'm trying to avoid situations where someone extracts the APK from a device, hacks it, sideloads it back onto the device and then uses it to play the game). Are there services provided by Google, the Play Store, Android, etc that can do that? For instance, the Play Store might

Android Google plus Sign out button looks different from sign in button in Google tutorial docs

孤街醉人 提交于 2020-01-24 02:40:06
问题 I am following the steps mentioned in Google developers site to implement sign in and sign out in my app. The code to add the sign-in and sign-out button as mentioned there is: <!-- sign-in button --> <com.google.android.gms.common.SignInButton android:id="@+id/sign_in_button" android:layout_width="wrap_content" android:layout_height="wrap_content" /> <!-- sign-out button --> <Button android:id="@+id/sign_out_button" android:layout_width="wrap_content" android:layout_height="wrap_content"

Google Play Game Services get achievements list

半世苍凉 提交于 2020-01-23 02:45:49
问题 I'm integrating Google Play Game Services in my game. Now I want to retrieve a list of achievements without starting the achievements intent. I want the list behind that intent so that I can populate my own UI elements with this information. I'm not using the old GooglePlayServicesClient, I'm using the GoogleApiClient! Thanks for your help ;) 回答1: The code to retrieve a list of achievements can be found in this answer. Below is the code snippet - see the linked answer for a full description:

Google Play Games, Firebase and the new Google Sign-in

℡╲_俬逩灬. 提交于 2020-01-19 14:21:46
问题 My game is using Google Play Games and Firebase (for Rankings System, because unfortunately one cannot reduce the score in Google Leaderboards). In the past I used the deprecated way to sign-in to Firebase via Plus.AccountApi.getAccountName and friends... So I tried to convert to the new Google Sign-in, but apparently it cannot be used in conjuction with Google Play Games: Auth.GOOGLE_SIGN_IN_API cannot be used with Games.API My whole goal was/is to get rid of Google+ dependency (as Google

Google Play Games, Firebase and the new Google Sign-in

自闭症网瘾萝莉.ら 提交于 2020-01-19 14:20:49
问题 My game is using Google Play Games and Firebase (for Rankings System, because unfortunately one cannot reduce the score in Google Leaderboards). In the past I used the deprecated way to sign-in to Firebase via Plus.AccountApi.getAccountName and friends... So I tried to convert to the new Google Sign-in, but apparently it cannot be used in conjuction with Google Play Games: Auth.GOOGLE_SIGN_IN_API cannot be used with Games.API My whole goal was/is to get rid of Google+ dependency (as Google

Google Play Games, Firebase and the new Google Sign-in

删除回忆录丶 提交于 2020-01-19 14:20:02
问题 My game is using Google Play Games and Firebase (for Rankings System, because unfortunately one cannot reduce the score in Google Leaderboards). In the past I used the deprecated way to sign-in to Firebase via Plus.AccountApi.getAccountName and friends... So I tried to convert to the new Google Sign-in, but apparently it cannot be used in conjuction with Google Play Games: Auth.GOOGLE_SIGN_IN_API cannot be used with Games.API My whole goal was/is to get rid of Google+ dependency (as Google