I read all documentation about leaderboards in Google Play Services and it seems that when I call the submitScore function of GameClient the service take account of the highest score submitted only. E.g.:
1st call:
gamesclient.submitScore( 100 );
Now player score is 100
2nd call:
gamesclient.submitScore( 150 );
Now player score is 150
3rd call:
gamesclient.submitScore( 100 );
player score still remains 150. Submitted value isn't greater than last so it is ignored.
Is there a simple way to retrieve last player score, sum the new score and submit the total for create an incremental score leaderboard ? Something like
int old_score = ...GET LAST PLAYER SCORE...
int new_score = old_score + current_game_score;
gamesclient.submitScore( new_score );