I can’t get date in properManner, I use PackageManager:
Code example
::List<PackageInfo> applications = getPackageManager().getInstalledPackages(0);
for(PackageInfo info : applications){
// Drawable icon = info.applicationInfo.loadIcon(getBaseContext());
long firstInstalled = info.firstInstallTime;
long lastUpdate = info.lastUpdateTime;
System.out.println("firstInstalled"+firstInstalled);
if I print firstInstalled to LOGCAT then I got result “firstInstalled is 1305907770197”
I can’t able to understand what is this? can you help me?
Use below code