Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想获得一个要安装的应用程序(Google Play 上的应用程序)的权限,即监控用户将要安装的应用程序的权限。PackageManager 可以做到这一点,但使用已安装应用程序的列表。如何使用要安装的应用程序执行此操作?
没有办法得到那个。如果您想假设应用程序在 Play 上并且用户将包名称传递给您,您可以下载其网页并屏幕抓取信息。但是,当用户安装应用程序并且它不适用于侧载时,没有需要提醒的回调。