title: setImageResource vs setImageURI
body: <p>I want to get the photo from internet so I use setImageURI, but it seems can't be done, but if I use setImageResource(R.drawable.) under the same function, it works... How could I fix the setImageURI's error?</p>
  <pre><code>public View getView(int position, View convertView, ViewGroup parent) {
          ImageView i = new ImageView(mContext);
  
          //this is working 
          int p = R.drawable.fb;
          i.setImageResource(p);
  
          //this is not working
          i.setImageURI(Uri.parse(&quot;http://www.vaultads.com/wp-content/uploads/2011/03/google-adsense.jpg&quot;));
  
  
          return i;
      }
  </code></pre>