Display image intent rebuilds cache
<p>When I create an intent and pass it a URI of the path of the image on the <a href="http://en.wikipedia.org/wiki/Secure_Digital" rel="nofollow">SD card</a>, like this:</p>

<pre><code>Intent intent = new Intent();  
intent.setAction(android.content.Intent.ACTION_VIEW);  
intent.setDataAndType(uri, "image/*");  
startActivity(intent);   
</code></pre>

<p>The image displays after about 15 seconds, because the image viewer has to rebuild its image cache. It says in the debugger </p>

<blockquote>
  <p>Unable to read the index file sdcard/Android/data/com.cooliris.media/cache/picasa-thumbsindex.</p>
</blockquote>

<p>I'm 99% sure this is a permissions issue, it cannot access its cache file. How do I fix this?</p>
