简体   繁体   English

安装前在android中扫描应用程序的权限

[英]scanning permissions of an application in android before its installation

I'm totally new to android,and I'm struck into the question... Is it possible to scan the permission list of an android application before its installation on mobile. 我是android的新手,我陷入了一个问题...是否可以在将其安装到移动设备上之前扫描它的权限列表。 For example, when the dialog box is shown for the list of permissions to the user,I want my application to scan those permissions and then after scanning suggest installation to the user.. 例如,当显示对话框以显示用户权限列表时,我希望我的应用程序扫描那些权限,然后在扫描后向用户建议安装。

For example, when the dialog box is shown for the list of permissions to the user,I want my application to scan those permissions and then after scanning suggest installation to the user 例如,当显示对话框以显示用户权限列表时,我希望我的应用程序扫描那些权限,然后在扫描后向用户建议安装

This is not possible. 这是不可能的。

You can find out after the installation that an app was installed (via an ACTION_PACKAGE_ADDED broadcast). 安装 ,您可以通过ACTION_PACKAGE_ADDED广播了解是否已安装应用。

您可以抓取所选应用程序的Android Playstore HTML页面并以这种方式获取权限。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM