title: Activity not found exception when clicking on the image
body: <p>i am getting following error:
  log is:</p>
  
  <pre><code>android.content.ActivityNotFoundException:
  No Activity found to handle Intent { act=android.intent.action.VIEW 
  dat=android.resource://com.isummation.customgallery/2130837504 typ=image/* }
  </code></pre>
  
  <p>my code is as:  </p>
  
  <pre><code>intent.setAction(Intent.ACTION_VIEW);
  Uri hacked_uri = Uri.parse("android.resource://com.isummation.customgallery/" + R.drawable.a);
  intent.setDataAndType(hacked_uri, "image/*");
  startActivity(intent);  
  </code></pre>
  
  <p>manifest.xml is as:  </p>
  
  <pre><code>&lt;intent-filter&gt;
      &lt;action android:name="android.intent.action.VIEW" /&gt;
      &lt;category android:name="android.intent.category.DEFAULT" /&gt;
  &lt;/intent-filter&gt;
  &lt;intent-filter&gt;
      &lt;action android:name="android.intent.action.MAIN" /&gt;
      &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
  &lt;/intent-filter&gt;
  </code></pre>
  
  <p>any suggestion?
  thanks</p>