开发者

how to fetch metadata of an image stored on an SD card of an android phone

I want to know how I could fetch all the metadata associated with an image, that is stored on the SD Card of 开发者_运维知识库an android mobile phone.


I don't know if there is a way to get the geo-location, but see the following post for getting the image width, height, and mimetype:

How to retrieve metadata from image file in Android

You can also get the file's last modified date with the following:

new Date(file.lastModified())
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜