I'm working with Google play game services and I'm using this code to get player detail.
if (gamesClient != null) {
Games.Leaderboards.loadCurrentPlayerLeaderboardScore(gamesClient,
activity.getString(R.string.leaderboard_high_score),
LeaderboardVariant.TIME_SPAN_ALL_TIME,
LeaderboardVariant.COLLECTION_SOCIAL).setResultCallback(new ResultCallback<Leaderboards.LoadPlayerScoreResult>() {
@Override
public void onResult(Leaderboards.LoadPlayerScoreResult result) {
// TODO Auto-generated method stub
LeaderboardScore lbs = result.getScore();
int score = (int) lbs.getRawScore();
String name = lbs.getScoreHolderDisplayName();
Uri urlimage = lbs.getScoreHolderHiResImageUri();
Uri urlicon = lbs.getScoreHolderIconImageUri();
Log.e("tag", "name: "+name+"\nscore: "+score+"\nurlimage: "+urlimage+"\nurlicon: "+urlicon);
}
});
} else {
//Login
}
but here I'm getting profile image link like "content://com.google.android.gms.games.background/images/33407107/22" with this how can I show profile image in my application using image view please help me. thank you..