[英]How to query the permissions of all installed Apps on an Android device?
my problem is like this: 我的问题是这样的:
I got like 200 Apps installed and made a list of them. 我安装了200个Apps,并列出了它们的清单。 Now I want to rate those Apps according to privacy.
现在,我想根据隐私权对这些应用程序进行评分。
All usual tools like F-Secure App Permissions or aSpotCat do help with that, but it's mostly manual labor, because their lists are not exportable. F-Secure App Permissions或aSpotCat之类的所有常用工具都可以帮上忙,但这主要是体力劳动,因为它们的列表不可导出。 So I would have to transfer the information X_X
所以我将不得不转移信息X_X
I was looking for Apps which could at least generate a list according to a query, but could not find one. 我在寻找可以至少根据查询生成列表但找不到一个列表的Apps。
Basically I would like to do this: "which apps on my mobile have NetworkAccess and at least one other PrivacyRElevantPermission?" 基本上,我想这样做:“我的手机上的哪些应用程序具有NetworkAccess和至少一个其他的PrivacyRElevantPermission?” -> LIST -> EXCEL -> NICE!
->列表->出色->不错!
My Mobile is not rooted and it shall stay this way. 我的手机不植根,它将保持这种状态。 But I have ADB and an Eclipse setup for AndroidDEV.
但是我有ADB和针对AndroidDEV的Eclipse设置。 However, I would like to avoid programming an App by my self right now.
但是,我现在想避免自己编写程序。 Right now, I hope someone could say: "This is easy, just get this App or use this command via ADB or just ... " - if not, I guess using aSApotCat will be the easiest way for now.
现在,我希望有人会说:“这很容易,只要通过ADB或通过ADB来获得此应用程序或使用此命令即可……”-否则,我想使用aSApotCat将是目前最简单的方法。
Thank you guys! 感谢大伙们!
You can do adb pull /data/system/packages.xml
to get an XML file with a list of all the intalled apps with their permissions and assorted data. 您可以执行
adb pull /data/system/packages.xml
来获取一个XML文件,其中包含所有已安装应用程序及其权限和分类数据的列表。 The names of the apps are not listed though, just the package name, but it's usually pretty obvious to guess which app that belongs to. 虽然没有列出应用程序的名称,只是包名称,但猜测属于哪个应用程序通常很明显。 You can then write a simple XML parser to filter out the ones you want to find.
然后,您可以编写一个简单的XML解析器来过滤出要查找的XML解析器。 You can import this to an Excel spreadsheet if you like.
如果愿意,可以将其导入到Excel电子表格中。
Edit: It seems that this file is does not have read permissions on some devices. 编辑:似乎该文件在某些设备上没有读取权限。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.