title: How do I retrieve the Picasa id/URL of an image from the gallery
body: <p>I have an activity that retrieves images from the device's gallery and uploads to a service. Now, for optimisation purposes, I would like to avoid uploading images that are on Picasa an just store their ID or URL for later retrieval. </p>
  
  <p>So my question is, how do I retrieve that information. My intent code is pasted below and retrieves the URI of the image.</p>
  
  <pre><code>Intent galleryIntent = new Intent();
  galleryIntent.setType("image/*");
  galleryIntent.setAction(Intent.ACTION_PICK);
  startActivityForResult(galleryIntent, GALLERY_PIC_REQUEST);
  </code></pre>
  
  <p>I tried to look for the PICASA_ID (MediaStore.Images.Media.PICASA_ID), but by using the method above, it returns null. Any ideas?</p>