Android Camera App-Intents
<p>I want to develop an Android app which Captures an image on click of button and then directs me to a page where I can write the name of image and have an option to save or discard it.
I have made 2 classes one(Photo.java) for capturing image and other(Capture.java) for renaming and saving image.
I don't know how to call Capture.java from Photo.java
Here is a part of my code.
How do I call Capture.java from here.</p>

<pre><code>      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 cameraIntent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE); 
            startActivityForResult(cameraIntent, CAMERA_REQUEST); 
        }
    });
}
</code></pre>
