title: How to create a android.net.Uri from a java.net.URL?
body: <p>I would like to <code>use intent.setData(Uri uri)</code> to pass data obtained from a URL.  In order to do this, I need to be able to create a Uri from a URL (or from a byte[] I read from the URL, or a <code>ByteArrayInputStream</code> I create from the <code>byte[]</code>, etc).  However, I cannot figure out how this is supposed to be done.  </p>
  
  <p>So, is there anyway to create a Uri from data obtained from a URL without first writing the data to a local file?</p>