Android Question get the creation date of the *.txt file

vmag

Active Member
Hello, I found an example,
but it does not work with *.txt files and some others.
I wonder if there is a shorter way to get the creation date of the *.txt file?
Thanks
 

vmag

Active Member
A better implementation of this feature is included in the TextEditor example: https://www.b4x.com/android/forum/t...-save-and-load-external-files.132731/#content
Try it.
Thank you,
I have this example in my collection, but unfortunately it doesn't work for me on the new version of B4A, and I don't have the old version anymore. The example is installed and started, but when selecting any text file, the message "Error loading file" appears instead of the file. Therefore, I did not dive into this example in detail, but now I will see if the part of the code that I need is working.
 
Upvote 0

vmag

Active Member
I'm sorry, the example doesn't work only on the emulator, everything works on a real phone with android 9, thanks again - I'll figure it out, it will be enough for me.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…