Android - set file name while saving image using Bitmap.compress
<p>I'm saving an image onto sd card using the following code:</p>

<pre><code>ContentValues values = new ContentValues();   
values.put(MediaColumns.TITLE, mFileName);
values.put(MediaColumns.DATE_ADDED, System.currentTimeMillis()); 
values.put(MediaColumns.MIME_TYPE, "image/jpeg");

resultImageUri = ApplyEffects.this.getContentResolver().insert(Images.Media.EXTERNAL_CONTENT_URI, values);

try{

 OutputStream out = ApplyEffects.this.getContentResolver().openOutputStream(resultImageUri);
 mResultBitmaps[positionSelected].compress(Bitmap.CompressFormat.JPEG, 70, out);  
 out.flush();
 out.close();

} catch(FileNotFoundException e){
 e.printStackTrace();
} catch(Exception e){
 e.printStackTrace();
}
</code></pre>

<p>But the image file name is always the System.currentTimeMills. How do I specify a name for it?</p>
