i try some method,but not success,help me.
+1
A:
PackageManager pm = context.getPackageManager();
ApplicationInfo appInfo = pm.getApplicationInfo("app.package.name", 0);
String appFile = appInfo.sourceDir;
long installed = File(appFile).lastModified();
alex
2010-05-14 07:10:23
thank you ,it is my want.
jezz
2010-05-14 07:19:29
A:
I don't understand the answer -- it provides the last modified date of the App's directory. Why is that necessarily the same as the original install time of the app?
ChaimKut
2010-05-27 10:31:33