android: convert canvas to bitmap then save to SD card
<p>i'm developing an android app where I can draw on a canvas. I want to convert my canvas to bitmap and then save it in jpeg format on my sd card..</p>

<p>how can i properly do this?</p>
