or this one (API Level 9 upwards!):
long installed = context
.getPackageManager()
.getPackageInfo(context.getPackageName(), 0)
.firstInstallTime
;
More Related Contents:
- show remaining minutes instead of hours
- how I can install android os from pc to my phone
- Android: install .apk programmatically [duplicate]
- How to get current time and date in Android
- How to format date and time in Android?
- install / uninstall APKs programmatically (PackageManager vs Intents)
- Install apps silently, with granted INSTALL_PACKAGES permission
- How to install trusted CA certificate on Android device?
- What is INSTALL_PARSE_FAILED_NO_CERTIFICATES error?
- Best way to work with dates in Android SQLite [closed]
- Getting error java.text.ParseException: Unparseable date: (at offset 0) even if the Simple date format and string value are identical
- Does Android keep the .apk files? if so where?
- ADB Install Fails With INSTALL_FAILED_TEST_ONLY
- “Unparseable date: 1302828677828” trying to deserialize with Gson a millisecond-format date received from server
- DatePicker shows wrong value of month
- How can I get current date in Android?
- Application Installation Failed in Android Studio
- How to include data files with the app’s APK?
- Failure [INSTALL_FAILED_ALREADY_EXISTS] when I tried to update my application
- how to convert date format in android
- parsing date/time to localtimezone
- Android – Date in API Level 21 [closed]
- Emulator: Warning: Quick Boot / Snapshots not supported on this machine
- Android SDK install: Java SE development Kit (JDK) not found [duplicate]
- cmdline-tools : could not determine SDK root
- Silent installation on Android devices
- Compare dates (stored as string) in android sqlite database?
- Date picker in Android
- MPAndroidChart x-axis date/time label formatting
- How to add days into the date in android