How to implement photos into a game

I was wanting to see if it was possible to allow the player to choose one of their photos to be their avatar. Any idea on how I can do this? (This is for android btw)

You can use an imagepicker plugin for android and get the picture with the www class.