The file creation date is not an available, but you can get the last-modified date:
File file = new File(filePath);
Date lastModDate = new Date(file.lastModified());
System.out.println("File last modified @ : "+ lastModDate.toString());
More Related Contents:
- Activity restart on rotation Android
- Android and XMPP: Currently available solutions [closed]
- Is there a way to define a min and max value for EditText in Android?
- Difference between app:srcCompat and android:src in Android’s layout XML
- finished with non zero exit value
- How do I make a dotted/dashed line in Android?
- How to get string width on Android?
- Multi flavor app based on multi flavor library in Android Gradle
- Update Fragment from ViewPager
- System.loadLibrary(…) couldn’t find native library in my case
- Bluetooth and WIFI Printing for Android
- Android Resources$NotFoundException: Resource ID #0x7f030027
- How to Show Circular Text using TextView in Android
- Android event for internet connectivity state change [duplicate]
- Android: adb pull file on desktop
- Disable TabLayout
- What is the meaning of android.intent.action.MAIN?
- Obfuscation in Android Studio
- Picasso load drawable resources from their URI
- Android : Html Anchor Link works only once in webview
- Upload an Image from camera or gallery in WebView
- App sometimes crashes with Resources$NotFoundException after switching to android app bundle distribution
- How to set a Fragment tag by code?
- What does FragmentManager and FragmentTransaction exactly do?
- How to send verification email with Firebase?
- First launch of Activity with Google Maps is very slow
- Map API v2 Authorisation Failure
- Android Studio, Gradle Errors. Content not allowed in Prolog
- What method is being called when I close an app
- Action Required: Your app is not compliant with Google Play Policies , what is the solution?