Java tutorial
//package com.java2s; import java.io.File; public class Main { public static File createPhotoFile(File pictureFileDir, long captureTime) { String photoFile = "Picture_" + captureTime + ".jpg"; String filename = pictureFileDir.getPath() + File.separator + photoFile; return new File(filename); } }