title: How to save ImageView image? (Android)
body: <p>I'm creating my first Android application. I have an ImageView that's used to contain an image taken by the camera.</p>
  
  <p>I created a save button, that triggers an onClick event that's supposed to save the image to memory.</p>
  
  <p>I have tried over and over again with countless methods, taken from other questions about this on Stackoverflow, but the app always crashes and the image does not get saved.</p>
  
  <p>Anyone can help?</p>
  
  <h1>EDIT:</h1>
  
  <p>It's alright, it finally worked. I used samkirton's code (<a href="https://gist.github.com/samkirton/0242ba81d7ca00b475b9" rel="nofollow">https://gist.github.com/samkirton/0242ba81d7ca00b475b9</a>), and it worked.</p>