title: Pick an random image from photo gallery
body: <p>I need to randomly select an image from a user's photo gallery.</p>
  
  <p>I don't mean starting an intent as in:</p>
  
  <pre><code>Intent gallery = new Intent(Intent.ACTION_PICK, android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);
          startActivityForResult(gallery, GALLERY_PHOTO_REQUEST_CODE);
  </code></pre>