【发布时间】:2020-01-12 04:28:03
【问题描述】:
在我的 Android 应用程序中,我需要显示程序的最后修改时间戳,所以如果我在一个应用程序中有 3 个类文件,我想获取每个文件的最后修改时间戳,并使用最新的一个作为时间戳对于应用程序,因此我不必手动将其硬编码到我的应用程序中,有什么好方法可以获取该信息?我问的原因是:
[1] The java file may not be packaged with the apk file, only class files are in it. How to get time stamp of the class files ?
[2] When an apk file is copied/downloaded from one place to another, do the time stamp of the class files change ?
【问题讨论】:
标签: android timestamp .class-file