java - Why are the generated names of a File named after the current timestamp different?
PHP中文网2017-05-16 13:34:36
0
1
794
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? ? ? ?
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
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