Save captured image
<p>I have been trying to work this out but not having any success...</p>

<p>I have a really simple app that captures an image and displays that image to the user... the problem is that it saves the image as the date is was captured, but instead I want to give the image a specific name.</p>

<p>here is my code:</p>

<pre><code>@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);
    this.imageView = (ImageView)this.findViewById(R.id.imageView1);
    Button photoButton = (Button) this.findViewById(R.id.button1);
    photoButton.setOnClickListener(new View.OnClickListener() {

        @Override
        public void onClick(View v) {

Intent intent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE);
            //intent.putExtra(MediaStore.EXTRA_OUTPUT, outputFileUri);

            startActivityForResult(intent, CAMERA_REQUEST); 
        }
    });

protected void onActivityResult(int requestCode, int resultCode, Intent data) {  
    System.gc();
    if (requestCode == CAMERA_REQUEST) {  
        Bitmap photo = (Bitmap) data.getExtras().get("data");
        imageView.setImageBitmap(photo);

    }  
}
</code></pre>

<p>I would really appreciate it if someone could show me what I need to add and where to set the image name (sorry but I am bit of a noob)</p>

<p>thanks</p>
