android - loadConnectedPlayers returning a buffer of 0 players -


i'm working on unpublished google play app want integrate google play services. in game, want able display friends (people in google+ circles) play game, can send eachother gifts , visit eachother. seems loadconnectedplayers() ideal this. here's how i'm implementing this:

 games.players.loadconnectedplayers(mhelper.getapiclient(), true).setresultcallback(new resultcallback<players.loadplayersresult>()     {         @override         public void onresult(players.loadplayersresult loadplayersresult)         {                       if(loadplayersresult != null)             {                 if (loadplayersresult.getstatus().getstatuscode() == gamesstatuscodes.status_ok)                 {                     if (loadplayersresult.getplayers() != null)                     {                         playerbuffer playerbuffer = loadplayersresult.getplayers();                         log.d(tag, "number of players returned: "+ playerbuffer.getcount());                          (int =0; i<playerbuffer.getcount(); ++i)                         {                                                             // todo: stuff each player                         }                          playerbuffer.close();                     }                 }             }         }     } 

however, i'm getting buffer of 0 players returned. status code result status_ok, meaning there weren't errors. 2 test players using both have authorized game, both have eachother in circles, , have public permissions game. can't see issues in code, i'm wondering if issue app not being published yet? if so, how 1 test social features on unpublished app? insight appreciated.


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -