Are there any tutorials on how to create jpeg images or convert images into jpeg on Android?
<p>1.myJpegFile = new File("images/jpegImage.jpg");<br>
 2.output = new BufferedOutputStream(new FileOutputStream(myJpegFile));<br>
 3.encoder = JPEGCodec.createJPEGEncoder(output);<br>
 4.encoder.encode(myJpegImage); </p>

<p>Please could you give me the equivalent code for line no. 3 and 4 in Android?</p>
