title: how to get Bitmap from Textureview and pass it to another activity
body: <p>I have a camera stream on my texture view and also I have a take picture button, Im trying to cast whatever is in the texture view  and send it to another activity.</p>
  
  <p>this is my code:</p>
  
  <pre><code>protected override void OnCreate(Bundle bundle)
      {
          base.OnCreate(bundle);
          SetContentView(Resource.Layout.Main);
          _textureView = FindViewById&lt;TextureView&gt;(Resource.Id.textureView);
          _textureView.SurfaceTextureListener = this;
          TakePictureBtn = FindViewById&lt;Button&gt;(Resource.Id.takePhotoButton);
          TakePictureBtn.Click += TakePicture_Click;
  
      }
  
      private void TakePicture_Click(object sender, EventArgs e)
      {
          Bitmap Photo;
          Photo = _textureView.GetBitmap(640,480);
          Intent PictureActivity = new Intent(this, typeof(PictureActivity));
          PictureActivity.PutExtra("Photo", Photo);
          this.StartActivity(PictureActivity);
      } 
  </code></pre>
  
  <p>ans this is the other activity code: </p>
  
  <pre><code> public class PictureActivity : Activity
      {
          ImageView Photo;
          protected override void OnCreate(Bundle savedInstanceState)
          {
              base.OnCreate(savedInstanceState);
              SetContentView(Resource.Layout.PictureActivity);
              Photo = FindViewById&lt;ImageView&gt;(Resource.Id.imageView1);
              Photo.SetImageBitmap((Bitmap)Intent.GetParcelableExtra("Photo"));
              // Create your application here
          }
      }
  </code></pre>
  
  <p>but when I press the button nothing happens, is this the correct way to do this?
  Thanks.</p>