I am new at programming. I am implementing a project which consists of 3 java classes (FirstActivity, SecondActivity and ResultActivity). The image taken is at FirstActivity. I need to transfer the image to the SecondActivity and then from SecondActivity to ResultActivity. Take note that FirstActivity and the ResultActivity only has imageview to display with. Please help me. Can someone suggests a sample code for me to be guided. Any advice will be much appreciated :)

First Activity:

```
  ImageView imgTaken = findViewById(R.id.imgTaken);
            Bitmap bitmap = ((BitmapDrawable) imgTaken.getDrawable()).getBitmap();
            Intent i = new Intent();
            i.setClass(ProcessImage.this, Match.class);
            i.putExtra("Bitmap", bitmap);
            startActivity(i);

```

Second Activity:

```
final Bitmap bitmap  = (Bitmap) this.getIntent().getParcelableExtra("Bitmap");
Intent i = new Intent();
            i.setClass(Match.this, Request.class);
            i.putExtra("Bitmap", bitmap);
            startActivity(i);

```

Result Activity:

```
ImageView imageView = findViewById(R.id.imageView);

Bitmap bitmap  = (Bitmap) this.getIntent().getParcelableExtra("Bitmap");
    imageView.setImageBitmap(bitmap);

```

Please help me.