[android] get app installed date

try
{
   long installed = getPackageManager().getPackageInfo("package.name", 0).firstInstallTime;
   Calendar cal = Calendar.getInstance();
   cal.setTimeInMillis(installed);
   Log.w("MainActivity.java | onCreate", "|" + cal.getTime().toString() + "|");
}
catch (Exception e)
{

}

 

출처 : http://stackoverflow.com/questions/5311644/get-application-installed-date-on-android