Android Question Compare the dates of two files

Espinosa4

Active Member
Licensed User
Longtime User
Hi,

I am trying to compare two dates. The first one is from assets and the last one is DefaultExternal. Is it possible? I've just read that is possible using file.lastmodified but I think it is not possible in a assets file.

Can you help me, please? I need compare this for replace a file depending the dates.

Thank you very much in advance.
Cheers.
 

Dieter Baumgartner

Member
Licensed User
Longtime User
Is there any working code solution for this ?
I have to compare the date of a file on a server with one on DefaultExternal. If i first download or copy it to a directory, it is modified and always newer than a existing.
 
Upvote 0
Top