PackageManager pm = context.getPackageManager();
ApplicationInfo appInfo = pm.getApplicationInfo("app.package.name", 0);
String appFile = appInfo.sourceDir;
long installed = new File(appFile).lastModified(); //Epoch Time
More Related Contents:
- Unreachable statement for if statement [closed]
- How to completely uninstall Android Studio from windows(v10)?
- How do I find out if the GPS of an Android device is enabled
- How to resume existing Fragment from BackStack
- How to set mobile system time and date in android?
- Cannot retrieve field values from realm object, values are null in debugger
- Out of Memory error with Bitmap
- select a word on a tap in TextView/EditText
- Android : Get view Reference to a Menu Item
- Fit Image in ImageButton in Android
- Convert bitmap array to YUV (YCbCr NV21)
- adb server is out of date. killing [duplicate]
- How to retrieve data from sqlite database in android and display it in TextView
- How get permission for camera in android.(Specifically Marshmallow)
- Apache HTTP connection with Android 6.0 (Marshmallow)
- Should I use android: process =”:remote” in my receiver?
- Confusion: How does SQLiteOpenHelper onUpgrade() behave? And together with import of an old database backup?
- SQLite simultaneous reading and writing
- Is there a way to use the SpeechRecognizer API directly for speech input?
- ActionBar MenuItem Divider
- Calling hidden API in android to turn screen off
- Scala Programming for Android
- What is the easiest way to use SVG images in Android?
- Disable specific dates of day in Android date picker
- Cloud Firestore: FAILED_PRECONDITION: The query requires an index
- Firebase Cloud Messaging different keys
- Creating an android smart app banner
- How Do I Create A Certificate For My Android Market APK?
- Crop square image to circle – Programmatically
- How to add days into the date in android