Activity Camera (in application Camera) is not responding
<p>I've an application that opens activity camera with the following code:</p>

<pre><code>Intent intent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE);
intent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(new File(Environment.getExternalStorageDirectory() + "/" + image)));
activity.startActivityForResult(intent, CAMERA_ACTIVITY_OK);
</code></pre>

<p>The problem is that the camera application, after some "snapshots", returns the following error:</p>

<pre><code>Activity Camera (in application Camera) is not responding.
</code></pre>

<p>After that, the camera application doesn't works anymore.
This problem happens only with Android 2.3 version</p>

<p>Could you help me please?</p>

<p>Thanks</p>
