I am getting the URI from google with this method:
Player me = Games.Players.getCurrentPlayer(mGoogleApiClient);
Uri uri = me.getHiResImageUri();
I read in various posts that because of Google's security restrictions I need to use the ImageManager
class.
This class only provides voids which directly set the URI as the drawable for the ImageView I provide. This is the method: loadImage(ImageView imageView, Uri uri);
The problem is that I need to get a variable of the Drawable
class from this Uri and use that. Having the Uri set as the drawable of the image does not work in my specific case.
I don't know if there is a class similar to ImageManager
or if there is a workaround to get the drawable.
Thanks for all replies in advance!