如何获取所有android应用程序列表(不包括系统应用程序)?另外,我该如何快速执行这些操作,长按应用程序图标通常可以得到该功能。
答案 0 :(得分:2)
要从波动中获取应用列表,请尝试使用device apps插件:
List<Application> apps = await DeviceApps.getInstalledApplications(
onlyAppsWithLaunchIntent: true,
includeSystemApps: false,
);