google-play-games

Can Google Play Games service be used for non games

旧城冷巷雨未停 提交于 2019-12-01 07:37:38
Ok this sounds weird. Google play games was made for games. And it is excellent. Achievements, cloud save, etc. Now my app is NOT a game. But it is well documented and researched that turning chores/work/etc into games, makes them more fun, and people more likely to want to do them. And this is what I want to do for my app. I cant add it to the games section, as it is a productivity/utility app. Yet I would like to add achievements,etc to it. And seeing as Google Play Games services already has some of the functionality i need, i thought i could use it. However, it seems that your app must be

Google Play Games and Profile Pictures

空扰寡人 提交于 2019-12-01 06:39:10
Recently, Google Play Games updated their service to work without Google+ account, and instead, players create their own nickname, and choose a profile picture. How exactly can I load this profile picture to display it? Before, I used getIconImageUri() of Player -class to display the Google+ profile image, but nowadays it just throws some strange exception. Here's a snip of the exception: 03-04 17:04:57.399 5076-5543/? W/System.err: java.lang.SecurityException: Permission Denial: opening provider com.google.android.gms.games.chimera.GamesContentProviderProxy from ProcessRecord{42f038e8 9143

Google play game services invitations get lost

折月煮酒 提交于 2019-12-01 06:30:14
I am using the new Google Play Game Services to develop my game on Android and I am now trying to include the invitation system. Have have 3 Google+ accounts that I use to try the invitations with 2 Android devices and 1 Android emulator. My problem is that the invitations are not always received when they are sent. Sometimes it works fast and perfectly, sometimes it won't work. Just cancelling the invitation and trying again can change the result. Here a 3 tests I did just to make it clearer : Test 1: Emulator was inviter, Nexus 4 didn't receive and Optimus One received Test 2: Nexus 4 was

Google play game services invitations get lost

家住魔仙堡 提交于 2019-12-01 04:53:27
问题 I am using the new Google Play Game Services to develop my game on Android and I am now trying to include the invitation system. Have have 3 Google+ accounts that I use to try the invitations with 2 Android devices and 1 Android emulator. My problem is that the invitations are not always received when they are sent. Sometimes it works fast and perfectly, sometimes it won't work. Just cancelling the invitation and trying again can change the result. Here a 3 tests I did just to make it clearer

Google Play Games and Profile Pictures

南笙酒味 提交于 2019-12-01 04:24:24
问题 Recently, Google Play Games updated their service to work without Google+ account, and instead, players create their own nickname, and choose a profile picture. How exactly can I load this profile picture to display it? Before, I used getIconImageUri() of Player -class to display the Google+ profile image, but nowadays it just throws some strange exception. Here's a snip of the exception: 03-04 17:04:57.399 5076-5543/? W/System.err: java.lang.SecurityException: Permission Denial: opening

Can Google Play Games service be used for non games

微笑、不失礼 提交于 2019-12-01 03:39:28
问题 Ok this sounds weird. Google play games was made for games. And it is excellent. Achievements, cloud save, etc. Now my app is NOT a game. But it is well documented and researched that turning chores/work/etc into games, makes them more fun, and people more likely to want to do them. And this is what I want to do for my app. I cant add it to the games section, as it is a productivity/utility app. Yet I would like to add achievements,etc to it. And seeing as Google Play Games services already

How to access Google Play Games Gamer ID

断了今生、忘了曾经 提交于 2019-12-01 02:19:59
Recently google added the concept of a Gamer ID to Google Play Games services which allows a player to setup a gaming identity distinct from their google+ identity. http://officialandroid.blogspot.co.uk/2016/02/embrace-your-inner-gaming-hero-with.html My use case is that I have an online multiplayer game which uses my own matchmaking server. I don't use Google Play Game's matchmaking because I require skill-based matchmaking capabilities that are not currently available using GPGS. I'd like to be able to display the player's Google Play Games identity (just the name) if they happen to have

OnInvitationReceivedListener does not fire reliably (if at all) - Google Play Game Services Button Clicker

自闭症网瘾萝莉.ら 提交于 2019-12-01 01:42:52
In trying out the button clicker demo of the Play Game Services, I have not had any luck (ok, 1 time out of hundreds) of getting the OnInvitationReceivedListener to fire. I have looked here stackoverflow answer 1 and here stackoverflow answer 2 , and have made sure to use test accounts that are part of my inner circles. (family good enough?) In testing: I have tried sending the invitation prior to logging in the other user (I Have never gotten the gameHelper onConnected(Bundle hintConnection) to have a non null value). I have tried sending the invitation after both accounts are logged in. (1

Google Play Game Services - How to Not Leave Room onPause

China☆狼群 提交于 2019-12-01 00:22:48
I'm not sure why " https://stackoverflow.com/questions/18142763/is-it-possible-to-show-full-screen-activity-without-leaving-room-using-google-re " was closed as "off topic" as I have the same question. If I switch to text messaging, someone calls, etc, then onPause() and potentially onStop() will be called. I presume those are what forces one to leave the room in a multiplayer game. I would rather the game not be ruined by these events though. Is it possible to somehow stay in the room while sending someone a quick text message or answering a phone call? Must I create a background service or

Google Play Games Realtime multiplayer: Getting participant Id and storing it to a string

a 夏天 提交于 2019-11-30 21:39:26
I am trying google realtime multiplayer for the very 1st time in my unity game. QuickMatch is working just fine, I mean I am able to get the connected participant's ID and store it to a string using: string MyId = PlayGamesPlatform.Instance.RealTime.GetSelf ().ParticipantId; //string frndId = PlayGamesPlatform.Instance.RealTime.GetParticipant (); //Get all opponent's ID List<Participant> playerIDs = PlayGamesPlatform.Instance.RealTime.GetConnectedParticipants (); if (MyId == playerIDs [0].ParticipantId) { oppoUsarname = playerIDs [1].DisplayName.ToString (); multiplayersName [1].text =