title: use android intent to display an image from internet
body: <p>I have an image located at: <a href="http://ww2.sinaimg.cn/bmiddle/8c9772a0jw1dm10273empj.jpg" rel="nofollow">http://ww2.sinaimg.cn/bmiddle/8c9772a0jw1dm10273empj.jpg</a></p>
  
  <p>I want use android gallery app to view the image, so I use below code but looks like it just can't start the desired activity.</p>
  
  <p>The variable pic is a string containing above image URL.</p>
  
  <p>Below is code:</p>
  
  <pre><code>    image_view.setOnClickListener(new OnClickListener(){
          @Override
          public void onClick(View v) {
              Intent intent = new Intent();
              intent.setAction(android.content.Intent.ACTION_VIEW);
              intent.setDataAndType(Uri.parse(pic), "image/*");
              startActivity(intent);
          }});
  </code></pre>
  
  <p>Stack:</p>
  
  <pre><code>Thread [&lt;1&gt; main] (Suspended (exception ActivityNotFoundException)) 
      Instrumentation.checkStartActivityResult(int, Object) line: 1408    
      Instrumentation.execStartActivity(Context, IBinder, IBinder, Activity, Intent, int) line: 1378  
      ViewMessage(Activity).startActivityForResult(Intent, int) line: 2833    
      ViewMessage(Activity).startActivity(Intent) line: 2939  
      ViewMessage$2.onClick(View) line: 92    
      ImageView(View).performClick() line: 2408   
      View$PerformClick.run() line: 8816  
      ViewRoot(Handler).handleCallback(Message) line: 587 
      ViewRoot(Handler).dispatchMessage(Message) line: 92 
      Looper.loop() line: 123 
      ActivityThread.main(String[]) line: 4673    
      Method.invokeNative(Object, Object[], Class, Class[], Class, int, boolean) line: not available [native method]  
      Method.invoke(Object, Object...) line: 521  
      ZygoteInit$MethodAndArgsCaller.run() line: 858  
      ZygoteInit.main(String[]) line: 616 
      NativeStart.main(String[]) line: not available [native method]  
  </code></pre>