public String getFilename() {
filepath = Environment.getExternalStorageDirectory().getPath();
file = new File(filepath, "Hair");
if (!file.exists()) {
file.mkdirs();
}
return (file.getAbsolutePath() + "/"
+ String.valueOf(System.currentTimeMillis()) + ".png");
}
No comments:
Post a Comment