- Added a method to show the platform-specific Achievements screen on Android
#codereview ryan.gerleve

[CL 2051354 by Michael Noland in Main branch]
This commit is contained in:
Michael Noland
2014-04-23 19:52:32 -04:00
committed by UnrealBot
parent 30e3cb898d
commit bbdbf8f019
3 changed files with 20 additions and 0 deletions

View File

@@ -269,6 +269,15 @@ public class GameActivity extends NativeActivity implements GoogleApiClient.Conn
}
}
public void AndroidThunkJava_ShowAchievements()
{
Log.debug("In AndroidThunkJava_ShowAchievements");
if(googleClient.isConnected())
{
startActivityForResult(Games.Achievements.getAchievementsIntent(googleClient), 0);
}
}
public void AndroidThunkJava_WriteLeaderboardValue(String LeaderboardID, long Value)
{
Log.debug("In AndroidThunkJava_WriteLeaderboardValue, ID is " + LeaderboardID + ", value is " + Value);