i am using a leaderboard via gps google play service. This is the only think i am using from the gps library at the moment.
For users with a Android Version 2.2 aka Froyo this does not work.
Is there a way to post the highscore to the leaderboard on a device which runs Android 2.2?
For other devices, it works fine.
This is my code:
public void showHighscore() {
Games.Leaderboards.submitScore(mHelper_.getApiClient(),
getString(R.string.leaderboard_highscore), this.getIntent()
.getExtras().getInt("highscore"));
int REQUEST_LEADERBOARD = 1;// beliebiger int
startActivityForResult(Games.Leaderboards.getLeaderboardIntent(
mHelper_.getApiClient(),
getString(R.string.leaderboard_highscore)), REQUEST_LEADERBOARD);
}