0

我使用 PackageManager 创建了已安装应用程序的列表,但我想知道该应用程序是否有新版本,以便我可以从该列表中更新它。任何想法?

这是我从 PackageManager 获得的详细信息

Log.v("/asd/", "AppName:"+modelMyAppsInstalledApps.get(i).getAppname());
Log.v("/asd/", "AppPackageName:"+modelMyAppsInstalledApps.get(i).getApppackagename());
Log.v("/asd/", "AppVersionName:"+modelMyAppsInstalledApps.get(i).getAppversionname());
Log.v("/asd/", "AppVersionCode:"+modelMyAppsInstalledApps.get(i).getAppversioncode());
Log.v("/asd/", "AppIcon:"+modelMyAppsInstalledApps.get(i).getAppicon().toString());
4

0 回答 0