Gallery crashes on invoking from app: Android 3.0 SDK
<p>I am invoking the gallery, so that a user can select a photo to import into my app, however, the gallery just seems to crash as soon as it is invoked...</p>

<p>Any ideas if this is a known issue or would I be doing something wrong by invoking using the following:</p>

<pre><code>    Intent photoPickerIntent = new Intent(Intent.ACTION_PICK);
    photoPickerIntent.setType("image/*");
    startActivityForResult(photoPickerIntent, ACTIVITY_SELECT_IMAGE);
</code></pre>

<p>Or the following:</p>

<pre><code>    Intent i = new Intent(Intent.ACTION_PICK,
                  android.provider.MediaStore.Images.Media.INTERNAL_CONTENT_URI);
    startActivityForResult(i, ACTIVITY_SELECT_IMAGE); 
</code></pre>

<p>Thanks,
Sonny</p>
