google-play-games

Saved Games on Android: how to check if a snapshot with the same name already exists?

廉价感情. 提交于 2019-12-24 16:09:55
问题 Currently I am working on the Google's Saved Games integration into an Android app. I am trying to create a new snapshot after the user requests new save. I implemented onActivityResult as i found here: @Override protected void onActivityResult(int requestCode, int resultCode, Intent intent) { // requestCode and resultCode checks happen here, of course... if (intent != null) { if (intent.hasExtra(Snapshots.EXTRA_SNAPSHOT_METADATA)) { // Load a snapshot. SnapshotMetadata snapshotMetadata =

possible bug for Google play game service package name?

半城伤御伤魂 提交于 2019-12-24 11:35:12
问题 I publish a game using package name "com.Company.MyGame" sign with "MyKey.keystore", then i publish a Google Play Game Service link with "com.company.MyGame" with "MyKey.keystore". Obviously it doesn't link because of case sensitive. Now i try to create another Google Play Game Service to link with "com.Company.MyGame" with "MyKey.keystore" but it prompt me an error saying "Package name and certificate fingerprint combination already exists" But this doesn't make sense since "com.Company

2 different versions of same application sharing same Google Play Games application id?

六月ゝ 毕业季﹏ 提交于 2019-12-24 06:57:05
问题 I'm changing my application to let me compile it to be used as a free or paid application. I have the free version running yet. It has a lot of achievements and Leaderboards configured on developer console and don't want to rewrite them again. Is it possible for 2 differnet applications in google play share same Google Game Services application id (bind 2 different games to the same application service id)? Or must I create a new application under game serverices in google developer console?.

Google Play Games not allowing user to join turn-based match

守給你的承諾、 提交于 2019-12-24 02:54:07
问题 I create a turn-based match and proceed to invite a single opponent as follows: GPGMultiplayerConfig *config = [[GPGMultiplayerConfig alloc] init]; // We will automatically match with one other player config.invitedPlayerIds = @[self.opponent.googlePlayID]; config.minAutoMatchingPlayers = 0; config.maxAutoMatchingPlayers = 0; [GPGTurnBasedMatch createMatchWithConfig:config completionHandler:^(GPGTurnBasedMatch *match, NSError *error) { if (error) { completion(NO); return; } }]; After this

What is the difference between Google Developers Console project and a Google **Play** Developers Console project?

天涯浪子 提交于 2019-12-24 00:59:57
问题 I have removed my Google Developer Console project. Are these projects identical to each other? If I remove one, will it remove the other? 回答1: Difference between Google Developers Console and a Google Play Developers Console? Google Developers Console: Google Developers (previously Google Code) is Google's site for software development tools, application programming interfaces (APIs), and technical resources. The site contains documentation on using Google developer tools and APIs—including

Hiding the Status bar in Android app while Google Game sign in

孤街醉人 提交于 2019-12-23 23:36:55
问题 In my Android App, I am using the google play game services with some leaderboards. My app uses the full screen. But when the google play sign in happens or when it shows the leaderboards it is showing the status bar as i have shown in the below mentioned picture. Could you please let me know how to hide it. 来源: https://stackoverflow.com/questions/26533430/hiding-the-status-bar-in-android-app-while-google-game-sign-in

Android App crash with BaseGameActivity

余生长醉 提交于 2019-12-23 07:08:38
问题 So, somewhat hard to ask. I wanna use the google play game service to access a leaderboard for my game. I tried to use BaseGameActivity like it is shown here Accessing the Games APIs Tried a few things, did some search but cannot figure out the problem. My App crashes when the BaseGameActivity is started. Log error shows: 03-10 17:44:54.071: E/AndroidRuntime(31435): FATAL EXCEPTION: main 03-10 17:44:54.071: E/AndroidRuntime(31435): java.lang.IllegalStateException: A fatal developer error has

Why doesn't my deployed Android app sign into Google Play Services, while my debug app does?

北城余情 提交于 2019-12-23 05:12:35
问题 My Android app's login to Google Play Games services seems to fail silently: after choosing the user in the sign-in activity, onActivityResult() receives a resultCode value of 10002. The Android APIs deposit these messages in the logcat: W/SignInActivity(16216): onSignInFailed()... W/SignInActivity(16216): Sign in failed during 6 W/SignInActivity(16216): ==> Returning non-OK result: 10002 while Log.w() commands I placed in onActivityResult() deposit these messages: W/Main activity(16167): In

Google Play Sign in keeps failing Exception: 4 [duplicate]

拟墨画扇 提交于 2019-12-23 05:04:48
问题 This question already has an answer here : How to properly setup google play signin in Android? (1 answer) Closed 8 months ago . So I've been trying for a long time now to get my app the have google play games achievements and I can't get it to work. I've been following this guide: https://developers.google.com/games/services/android/signin#implementing_player_sign-in and am having no success, every time I open my app it starts the sign in process but then it stops and says it's failed. It's

Libgdx game with Google play game services in android app problems

我的未来我决定 提交于 2019-12-23 03:31:16
问题 I have been asking questions related to my Libgdx game Google play game services configuration error. Up-till now I have solved sign in errors but Now I am stuck at Unlock Achievements. So I am posting my code may Be some one can help me out then. Here Is my ActionResolver Interface That I created In Core Libgdx project package com.------.game; public interface ActionResolver { public boolean getSignedInGPGS(); public void loginGPGS(); public void submitScoreGPGS(int score); public void