Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道如何获取与图像相关的所有元数据,这些元数据存储在 Android 手机的 SD 卡上。
我不知道是否有办法获取地理位置,但请参阅以下帖子以获取图像宽度、高度和 mimetype:
如何从 Android 中的图像文件中检索元数据
您还可以使用以下命令获取文件的最后修改日期:
new Date(file.lastModified())