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.
我对android完全陌生,我对这个问题感到震惊......是否可以在将android应用程序安装到移动设备之前扫描它的权限列表。例如,当显示用户权限列表对话框时,我希望我的应用程序扫描这些权限,然后在扫描后向用户建议安装..
例如,当显示用户权限列表对话框时,我希望我的应用程序扫描这些权限,然后在扫描后向用户建议安装
这是不可能的。
您可以在安装后发现安装了一个应用程序(通过ACTION_PACKAGE_ADDED广播)。
ACTION_PACKAGE_ADDED
您可以抓取所选应用的 Android Playstore HTML 页面并以这种方式获取权限。