search

Home  >  Q&A  >  body text

java - Why are the generated names of a File named after the current timestamp different?

When I was recording, I named it based on the current timestamp, but why is the file name different when I save it after recording? The normal one should be xxxx.mp3. Why do the following long list of problems appear? ? ? ?

PHP中文网PHP中文网2757 days ago774

reply all(1)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-05-16 13:36:36

    The YW_Record part of your previous file name has not come out either.
    First make sure the viewing location is correct.
    Then, where is this information obtained? If it is adb shell, then you can use the command ls -l to see if there is a correlation in time.
    Execute the program again and check the changes in the file.
    In addition, it is recommended not to use timestamps for naming. You can convert them to time (for example: 20170421124130), which makes it easier to understand

    reply
    0
  • Cancelreply