Skip to content

Commit

Permalink
add ms to saved file
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislav-halyn committed Sep 5, 2019
1 parent 39bfdfa commit 7e0fb87
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ public void onTick(long millisUntilFinished) {
}

public void onFinish() {
String timeStamp = new SimpleDateFormat("yyyyMMdd_HHmmss").format(new Date());
String timeStamp = new SimpleDateFormat("yyyyMMdd_HHmmssSSS").format(new Date());
String imageName = "IMG_" + timeStamp + ".jpg";
Intent returnIntent = new Intent();

Expand Down Expand Up @@ -458,7 +458,7 @@ public void onTick(long millisUntilFinished) {
}

public void onFinish() {
String timeStamp = new SimpleDateFormat("yyyyMMdd_HHmmss").format(new Date());
String timeStamp = new SimpleDateFormat("yyyyMMdd_HHmmssSSS").format(new Date());
String imageName = "/IMG_" + timeStamp + ".jpg";

// String selectedImagePath = getIntent().getExtras().getString("selectedImagePath");
Expand Down

0 comments on commit 7e0fb87

Please sign in to comment.