获取所有应用程序的列表

时间:2019-05-06 14:25:25

标签: android flutter

如何获取所有android应用程序列表(不包括系统应用程序)?另外,我该如何快速执行这些操作,长按应用程序图标通常可以得到该功能。

1 个答案:

答案 0 :(得分:2)

要从波动中获取应用列表,请尝试使用device apps插件:

List<Application> apps = await DeviceApps.getInstalledApplications(
    onlyAppsWithLaunchIntent: true,
    includeSystemApps: false,
);
相关问题